diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 9e113f8..b35ebe0 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -13,6 +13,9 @@ on: - '**/README.md' workflow_dispatch: +env: + IMAGE: gitea.mrdev023.fr/justforfun/fedora_atomic_custom_image + jobs: build_push: name: Build and push image @@ -54,7 +57,7 @@ jobs: uses: https://github.com/docker/metadata-action@v5 id: meta with: - images: gitea.mrdev023.fr/JustForFun/fedora_atomic_custom_image + images: ${{ env.IMAGE }} - name: Build and Push Image uses: https://github.com/docker/build-push-action@v5 @@ -62,12 +65,12 @@ jobs: context: . file: ./Containerfile push: true - tags: gitea.mrdev023.fr/JustForFun/fedora_atomic_custom_image:latest + tags: ${{ env.IMAGE }}:latest # - name: Sign container image # if: gitea.event_name != 'pull_request' # run: | - # cosign sign -y --key env://COSIGN_PRIVATE_KEY gitea.mrdev023.fr/JustForFun/fedora_atomic_custom_image:latest + # cosign sign -y --key env://COSIGN_PRIVATE_KEY ${{ env.IMAGE }}:latest # env: # COSIGN_PRIVATE_KEY: ${{ secrets.SIGNING_SECRET }} # COSIGN_PASSWORD: "" diff --git a/README.md b/README.md index 8c091c2..8297a60 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ## Install ``` -rpm-ostree rebase ostree-unverified-registry:gitea.mrdev023.fr/JustForFun/fedora_atomic_custom_image:latest +rpm-ostree rebase ostree-unverified-registry:gitea.mrdev023.fr/justforfun/fedora_atomic_custom_image:latest ``` ## Thanks