testing ci/ci
All checks were successful
Base DNS Docker Image CI/CD Build / build-docker-image (push) Successful in 1m4s
All checks were successful
Base DNS Docker Image CI/CD Build / build-docker-image (push) Successful in 1m4s
This commit is contained in:
parent
f4dfe25687
commit
f87a0caaa6
@ -20,7 +20,7 @@ jobs:
|
||||
run: |
|
||||
docker push $CONTAINER_NAME:$MAJOR_VERSION.${{ github.run_number }}
|
||||
- name: Tag and push Docker image as latest if on master branch
|
||||
if: $GITHUB_REF == 'refs/heads/main'
|
||||
if: ${{ github.ref }} == 'refs/heads/main'
|
||||
run: |
|
||||
docker tag $CONTAINER_NAME:$MAJOR_VERSION.${{ github.run_number }} $CONTAINER_NAME:latest
|
||||
docker push $CONTAINER_NAME:latest
|
||||
|
Loading…
Reference in New Issue
Block a user