Skip to content

Add publish github action and bump python version in Dockerfile #8

Add publish github action and bump python version in Dockerfile

Add publish github action and bump python version in Dockerfile #8

Workflow file for this run

name: publish
on:
push:
tags:
- 'v1.*'
- 'gh-action-test-*'
jobs:
docker:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- name: Build and push Docker image
uses: docker/build-push-action@v5
context: "{{defaultContext}}"

Check failure on line 20 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
file: ./Dockerfile
push: true
tags: ghcr.io/${{github.repository}}:${{github.ref_name}}
labels: org.opencontainers.image.source=https://github.com/${{github_repository}}