aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrumeet <17158086+Trumeet@users.noreply.github.com>2021-01-07 21:25:32 -0800
committerTrumeet <17158086+Trumeet@users.noreply.github.com>2021-01-07 21:25:32 -0800
commit7bcc657733bed243370a37f83ecd8849106924dc (patch)
tree6e064d4f48359998ebc6707412140913ba599f19
parentc441f75b4cb68dd124e4616787be1625e93d938b (diff)
downloaddn42peering-7bcc657733bed243370a37f83ecd8849106924dc.tar
dn42peering-7bcc657733bed243370a37f83ecd8849106924dc.tar.gz
dn42peering-7bcc657733bed243370a37f83ecd8849106924dc.tar.bz2
dn42peering-7bcc657733bed243370a37f83ecd8849106924dc.zip
ci: fix Docker tag
-rw-r--r--.github/workflows/publish.yml4
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