This commit is contained in:
parent
0286b347cf
commit
750d46a8eb
1 changed files with 1 additions and 5 deletions
|
|
@ -28,11 +28,7 @@ jobs:
|
||||||
ca=["/etc/ssl/certs/ca-certificates.crt"]
|
ca=["/etc/ssl/certs/ca-certificates.crt"]
|
||||||
- name: Tag Version
|
- name: Tag Version
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ github.event_name }}" == "push" ]]; then
|
echo "IMAGE_VERSION=latest" >> $GITHUB_ENV
|
||||||
echo "IMAGE_VERSION=${{ github.ref_name }}" | sed 's/dev//g' >> $GITHUB_ENV
|
|
||||||
else
|
|
||||||
echo "IMAGE_VERSION=${{ env.IMAGE_VERSION }}-${{ github.run_number }}" >> $GITHUB_ENV
|
|
||||||
fi
|
|
||||||
- name: Login in to registry
|
- name: Login in to registry
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue