Skip to content

Commit

Permalink
Merge pull request #27 from windpioneers/python-3-12
Browse files Browse the repository at this point in the history
OPS: Update GHA to latest versions
  • Loading branch information
thclark authored Nov 13, 2024
2 parents 9227c52 + 113fc26 commit d9e3fe7
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
docker:
needs: coolname
strategy:
fail-fast: false
matrix:
python: ["3.10", "3.11", "3.12"]
gdal: ["2.4.1"]
Expand Down Expand Up @@ -51,19 +52,20 @@ jobs:
fi
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/[email protected]
uses: docker/[email protected]
id: build-push
with:
context: .
platforms: linux/amd64,linux/arm64
Expand All @@ -80,16 +82,13 @@ jobs:
# - https://github.com/docker/build-push-action/blob/master/docs/advanced/copy-between-registries.md

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
run: echo ${{ steps.build-push.outputs.digest }}

release:
needs: [coolname, docker]
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: test generator output
run: echo "${{ needs.docker.outputs.name }}"

- name: Create Release
uses: actions/create-release@v1
env:
Expand Down

0 comments on commit d9e3fe7

Please sign in to comment.