Skip to content

Commit

Permalink
Fix Docker image to be build on git tag instead of current main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
juhoinkinen committed Jun 20, 2023
1 parent bea17d6 commit 2e42403
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker-rebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- name: "Build for testing"
uses: docker/build-push-action@c56af957549030174b10d6867f20e78cfd7debc5 # v3.2.0
with:
context: .
push: false
tags: test-image
- name: "Test with pytest"
Expand All @@ -46,6 +47,7 @@ jobs:
- name: Build and push to Quay.io
uses: docker/build-push-action@44ea916f6c540f9302d50c2b1e5a8dc071f15cdf # v4.1.0
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 2e42403

Please sign in to comment.