Skip to content

Move arm64 Dockerfile and update workflow #18

Move arm64 Dockerfile and update workflow

Move arm64 Dockerfile and update workflow #18

name: Publish Docker image
on:
workflow_dispatch:
push:
branches: [nogil]
jobs:
push_to_registry:
strategy:
fail-fast: false
matrix:
include:
- tag: "nogil/python:latest"
dockerfile: "docker/Dockerfile"

Check failure on line 15 in .github/workflows/publish-docker.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-docker.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
- 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
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
file: ${{ matrix.dockerfile }}
build-args: |
commit=${{ github.sha }}
push: true
tags: ${{ matrix.tag }}