Skip to content

Commit

Permalink
MNES-1021 test imag eupload to dockerhub
Browse files Browse the repository at this point in the history
  • Loading branch information
Alina Geesen-Stucky committed Jun 24, 2024
1 parent 52cc45b commit 7b23945
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ jobs:

- name: push Image to Production
id: push-prod
if: github.ref == 'refs/heads/prod'
#if: github.ref == 'refs/heads/prod'
run: docker tag $IMAGE_NAME mnestix/$IMAGE_NAME:$IMAGE_TAG &&
docker tag $IMAGE_NAME mnestix/$IMAGE_NAME:$IMAGE_TAG_VERSION &&
docker push mnestix/$IMAGE_NAME:$IMAGE_TAG &&
docker push mnestix/$IMAGE_NAME:$IMAGE_TAG_VERSION

- name: pugh Image to development
id: push-dev
# if: github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/staging'
if: github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/staging'
env:
BRANCH_NAME: ${{ steps.extract_branch.outputs.branch }}
run: docker tag $IMAGE_NAME mnestixcr.azurecr.io/$IMAGE_NAME:$BRANCH_NAME &&
Expand Down

0 comments on commit 7b23945

Please sign in to comment.