testing ci/ci
Some checks failed
Base DNS Docker Image CI/CD Build / build-docker-image (push) Failing after 1m6s

This commit is contained in:
Donavan Fritz 2024-02-08 18:15:46 -08:00
parent 0dd40943eb
commit f4dfe25687

View File

@ -1,5 +1,6 @@
name: Base DNS Docker Image CI/CD Build name: Base DNS Docker Image CI/CD Build
on: [push] on:
- push
jobs: jobs:
build-docker-image: build-docker-image:
@ -19,7 +20,7 @@ jobs:
run: | run: |
docker push $CONTAINER_NAME:$MAJOR_VERSION.${{ github.run_number }} docker push $CONTAINER_NAME:$MAJOR_VERSION.${{ github.run_number }}
- name: Tag and push Docker image as latest if on master branch - name: Tag and push Docker image as latest if on master branch
if: github.ref == 'refs/heads/master' if: $GITHUB_REF == 'refs/heads/main'
run: | run: |
docker tag $CONTAINER_NAME:$MAJOR_VERSION.${{ github.run_number }} $CONTAINER_NAME:latest docker tag $CONTAINER_NAME:$MAJOR_VERSION.${{ github.run_number }} $CONTAINER_NAME:latest
docker push $CONTAINER_NAME:latest docker push $CONTAINER_NAME:latest