Skip to content

Commit

Permalink
Update eoefans-api-docker-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kazami139 authored and GitHub Enterprise committed Feb 11, 2023
1 parent a18c35e commit 8d906d8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/eoefans-api-docker-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ jobs:
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
- run: |
echo "IMAGE_TAG=${{steps.tag.outputs.tag}}" >> $GITHUB_ENV
echo $IMAGE_TAG

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand All @@ -43,13 +40,15 @@ jobs:
uses: docker/build-push-action@v4
with:
push: true
file: ${{ env.DOCKERFILE_PATH }}
tags: |
${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_REPO }}/${{ env.IMAGE_NAME }}:${{ env.IAMGE_TAG }}
${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_REPO }}/${{ env.IMAGE_NAME }}:${{steps.tag.outputs.tag}}
- name: Build and push Docker image with latest
uses: docker/build-push-action@v4
with:
push: true
file: ${{ env.DOCKERFILE_PATH }}
tags: |
${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_REPO }}/${{ env.IMAGE_NAME }}:latest

0 comments on commit 8d906d8

Please sign in to comment.