Skip to content

release v0.0.1

release v0.0.1 #1

Workflow file for this run

name: "Docker: release"
on:
push:
tags:
- "v*"
env:
USERNAME: fscherf
IMAGE_NAME: fscherf/milan
jobs:
docker-release:
runs-on: ubuntu-latest
steps:
- 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
with:
username: ${{ env.USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract metadata
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.IMAGE_NAME }}
tags: type=match,pattern=v(.*),group=1
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != "pull_request" }}

Check failure on line 39 in .github/workflows/docker-release.yml

View workflow run for this annotation

GitHub Actions / Docker: release

Invalid workflow file

The workflow is not valid. .github/workflows/docker-release.yml (Line: 39, Col: 17): Unexpected symbol: '"pull_request"'. Located at position 22 within expression: github.event_name != "pull_request"
tags: ${{ steps.meta.outputs.tags }},${{ env.IMAGE_NAME }}:latest