mirror of
https://github.com/Laborratte5/linux-iso-seeder.git
synced 2025-12-30 17:08:17 +01:00
ci: push docker image to git.ratte.dev container registry
This commit is contained in:
parent
1de6df1692
commit
e92f951433
1 changed files with 7 additions and 0 deletions
|
|
@ -14,11 +14,18 @@ jobs:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: https://code.forgejo.org/docker/setup-buildx-action@v3
|
uses: https://code.forgejo.org/docker/setup-buildx-action@v3
|
||||||
|
- name: Login to Container Registry
|
||||||
|
uses: https://code.forgejo.org/docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: git.ratte.dev
|
||||||
|
username: Laborratte5
|
||||||
|
password: ${{ secrets.PACKAGE_REGISTRY_TOKEN }}
|
||||||
- id: create_version_string
|
- id: create_version_string
|
||||||
run: echo version_tag=$(git rev-parse --short HEAD)-$(date --utc --iso-8601) >> $FORGEJO_OUTPUT
|
run: echo version_tag=$(git rev-parse --short HEAD)-$(date --utc --iso-8601) >> $FORGEJO_OUTPUT
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: https://code.forgejo.org/docker/build-push-action@v6
|
uses: https://code.forgejo.org/docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
git.ratte.dev/laborratte5/linux-iso-seeder:latest
|
git.ratte.dev/laborratte5/linux-iso-seeder:latest
|
||||||
git.ratte.dev/laborratte5/linux-iso-seeder:${{ steps.create_version_string.outputs.version_tag }}
|
git.ratte.dev/laborratte5/linux-iso-seeder:${{ steps.create_version_string.outputs.version_tag }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue