Skip to content

Prepare v0.9.20240909 #166

Prepare v0.9.20240909

Prepare v0.9.20240909 #166

Workflow file for this run

---
name: publish
'on':
push:
tags:
- v*
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/metadata-action@v5
id: meta
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
labels: |
maintainer=David Rabkin
org.opencontainers.image.description=Includes the Goredo utility.
org.opencontainers.image.licenses=0BSD
org.opencontainers.image.source=https://github.com/rdavid/goredoer
org.opencontainers.image.title=Goredoer
org.opencontainers.image.vendor=David Rabkin
tags: |
type=raw,value=latest
type=schedule,pattern=nightly
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}},priority=901
- uses: docker/build-push-action@v6
id: build-and-push
with:
context: .
file: Containerfile
platforms: "\
linux/386,\
linux/amd64,\
linux/arm/v6,\
linux/arm/v7,\
linux/arm64,\
linux/ppc64le,\
linux/s390x"
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}