Skip to content

Commit

Permalink
Move arm64 Dockerfile and update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
colesbury committed Feb 21, 2024
1 parent 87fd7f8 commit 6fa7481
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,18 @@ on:

jobs:
push_to_registry:
strategy:
fail-fast: false
matrix:
include:
- tag: "nogil/python:latest"
dockerfile: "docker/Dockerfile"
- tag: "nogil/python-arm64:latest"
dockerfile: "docker/arm64/Dockerfile"

name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:

- name: Check out the repo
uses: actions/checkout@v3

Expand All @@ -24,18 +32,9 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
file: docker/Dockerfile
file: ${{ matrix.dockerfile }}
build-args: |
commit=${{ github.sha }}
push: true
tags: nogil/python:latest
tags: ${{ matrix.tag }}

- name: Build and push Docker image for ARM64 devices
uses: docker/build-push-action@v3
with:
context: .
file: docker/DockerfileARM64
build-args: |
commit=${{ github.sha }}
push: true
tags: nogil/python-arm64:latest
File renamed without changes.

0 comments on commit 6fa7481

Please sign in to comment.