diff options
author | Trumeet <17158086+Trumeet@users.noreply.github.com> | 2021-01-07 21:25:32 -0800 |
---|---|---|
committer | Trumeet <17158086+Trumeet@users.noreply.github.com> | 2021-01-07 21:25:32 -0800 |
commit | 7bcc657733bed243370a37f83ecd8849106924dc (patch) | |
tree | 6e064d4f48359998ebc6707412140913ba599f19 | |
parent | c441f75b4cb68dd124e4616787be1625e93d938b (diff) | |
download | dn42peering-7bcc657733bed243370a37f83ecd8849106924dc.tar dn42peering-7bcc657733bed243370a37f83ecd8849106924dc.tar.gz dn42peering-7bcc657733bed243370a37f83ecd8849106924dc.tar.bz2 dn42peering-7bcc657733bed243370a37f83ecd8849106924dc.zip |
ci: fix Docker tag
-rw-r--r-- | .github/workflows/publish.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2138014..5fc412d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,10 +22,12 @@ jobs: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.CR_PAT }} + - name: Generate tag + run: echo "CUSTOM_DOCKER_TAG=${GITHUB_REF##*/}" >> $GITHUB_ENV - name: Build and push central Docker image uses: docker/build-push-action@v2.2.1 with: - tags: ghcr.io/Trumeet/dn42peering:${GITHUB_REF##*/} + tags: ghcr.io/Trumeet/dn42peering:$CUSTOM_DOCKER_TAG push: true build_agent: runs-on: ubuntu-latest |