Skip to content

docker push workflow #1

docker push workflow

docker push workflow #1

Workflow file for this run

name: Publish The Docker image to the GHCR
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
registry: ghcr.io
username: ${{ github.actor }}

Check failure on line 18 in .github/workflows/publish-ghcr.yml

View workflow run for this annotation

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

Invalid workflow file

You have an error in your yaml syntax on line 18
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags:
- tldr-lint:latest
- tldr-lint:$GITHUB_REF