Skip to content

Commit

Permalink
Fix docker image for apollo
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa authored May 31, 2024
1 parent 128dce4 commit bec099f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ jobs:
uses: docker/build-push-action@v3
with:
push: true
context: .
file: apollo/Dockerfile
context: apollo
tags: |
${{ env.DOCKER_REGISTRY }}/${{ github.repository }}/apollo:sha-${{ steps.short-sha.outputs.sha }}
${{ env.DOCKER_REGISTRY }}/${{ github.repository }}/apollo:staging
Expand All @@ -47,8 +46,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
with:
push: true
context: .
file: apollo/Dockerfile
context: apollo
tags: |
${{ env.DOCKER_REGISTRY }}/${{ github.repository }}/apollo:${{ steps.tag-name.outputs.tag }}
${{ env.DOCKER_REGISTRY }}/${{ github.repository }}/apollo:latest
Expand Down

0 comments on commit bec099f

Please sign in to comment.