Skip to content

Commit

Permalink
testing 12
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonSmith committed Jun 12, 2024
1 parent c53735f commit bdcdb01
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/docker_push_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,27 @@ jobs:
with:
images: ${{ vars.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build Docker image
run: |
docker build -t ${{ env.IMAGE_NAME }} -f ./src/backend/Dockerfile .
# - name: Build Docker image
# run: |
# docker build -t ${{ env.IMAGE_NAME }} -f ./src/backend/Dockerfile .

- name: Pull docker hello-world image
run: docker pull hello-world

- name: Tag Docker image
run: |
docker tag ${{ env.IMAGE_NAME }} ${{ steps.meta.outputs.tags }}
docker tag hello-world ${{ vars.REGISTRY }}/hello-world
- name: Push Docker image
env:
THE_TAGS: ${{ steps.meta.outputs.tags }}
run: |
docker push ${{ steps.meta.outputs.tags }}
docker push ${{ vars.REGISTRY }}/hello-world
# - name: Tag Docker image
# run: |
# docker tag ${{ env.IMAGE_NAME }} ${{ steps.meta.outputs.tags }}

# - name: Push Docker image
# env:
# THE_TAGS: ${{ steps.meta.outputs.tags }}
# run: |
# docker push ${{ steps.meta.outputs.tags }}

0 comments on commit bdcdb01

Please sign in to comment.