diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bf96879..302d3d1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: - name: Log in to the Container registry uses: docker/login-action@v3.2.0 with: - registry: ${{ env.REGISTRY }} + registry: ${{ vars.REGISTRY }} username: ${{ secrets.DOCKER_REGISTRY_UNAME }} password: ${{ secrets.DOCKER_REGISTRY_PWD }} # This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels. @@ -32,7 +32,7 @@ jobs: id: meta uses: docker/metadata-action@v5.5.1 with: - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + images: ${{ vars.REGISTRY }}/${{ vars.IMAGE_NAME }} # This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages. # It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository. # It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step. @@ -49,7 +49,7 @@ jobs: - name: Generate artifact attestation uses: actions/attest-build-provenance@v1 with: - subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}} + subject-name: ${{ vars.REGISTRY }}/${{ vars.IMAGE_NAME}} subject-digest: ${{ steps.push.outputs.digest }} push-to-registry: true