Skip to content

Commit

Permalink
Load before test
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn authored Aug 27, 2024
1 parent 5027c53 commit 5cd1494
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,12 @@ jobs:
cache-to: type=local,dest=cache

- name: Build release
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
if: env.DO_BUILD == 'true'
with:
context: .
push: false
load: true
build-args: |
QGIS_VERSION=${{ env.QGIS_VERSION_TAG }}
QGIS_VERSION_SHORT=${{ env.QGIS_VERSION_SHORT }}
Expand All @@ -80,7 +81,7 @@ jobs:
docker run --rm ghcr.io/opengisch/qgis-slim:latest python3 -c 'from qgis.core import QgsApplication; QgsApplication([], False)'
- name: Push release
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
if: env.DO_BUILD == 'true' && github.event_name != 'pull_request'
with:
context: .
Expand Down

0 comments on commit 5cd1494

Please sign in to comment.