Skip to content

Commit

Permalink
[bug] same for punlish container (this is still broken though)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctr26 committed Jul 31, 2024
1 parent 5ae036d commit 5cd3fec
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: api
working-directory: ./
steps:
- name: Checkout
uses: actions/[email protected]
Expand All @@ -32,15 +32,17 @@ jobs:
- name: Build and push Docker image (version tag)
uses: docker/[email protected]
with:
context: api
context: ./
dockerfile: api/Dockerfile
push: true
tags: ghcr.io/${{ steps.image-label.outputs.image_name }}:${{ steps.image-label.outputs.version }}
labels: ${{ steps.meta.outputs.labels }}
- name: Build and push Docker image (latest tag)
if: steps.check-version.outputs.current-version
uses: docker/[email protected]
with:
context: .
context: ./
dockerfile: api/Dockerfile
push: true
tags: ghcr.io/${{ steps.image-label.outputs.image_name }}:latest
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 5cd3fec

Please sign in to comment.