Skip to content

Commit

Permalink
Update snorkrat-reg-publish.yml
Browse files Browse the repository at this point in the history
changed to short image name
  • Loading branch information
snorkrat authored Oct 6, 2022
1 parent e1fd91d commit 994153f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/snorkrat-reg-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ on:
types: [published]

env:
IMAGE_NAME: ${{ github.repository }}
IMAGE_NAME: ${{ github.repository }} # eg: snorkrat/auto-letsencrypt-dns.
IMAGE_NAME_SHORT: ${{ github.event.repository.name }} # eg: auto-letsencrypt-dns.

jobs:
build-and-push-image:
Expand All @@ -41,7 +42,7 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ secrets.SNORKRAT_REG_URL }}/${{ env.IMAGE_NAME }}
images: ${{ secrets.SNORKRAT_REG_URL }}/${{ env.IMAGE_NAME_SHORT }}

- name: Build and push Docker image
uses: docker/build-push-action@v3
Expand Down

0 comments on commit 994153f

Please sign in to comment.