Skip to content

release: Google API Linter v1.63.3 #82

release: Google API Linter v1.63.3

release: Google API Linter v1.63.3 #82

Workflow file for this run

name: Release Docker image
on:
push:
tags:
- "v*.*.*"
jobs:
docker-buildx:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: 386,amd64,arm,arm64,ppc64le,s390x
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
id: buildx
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set tag
id: tag
run: echo "tag=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_OUTPUT
- name: Build the Docker image and push
uses: docker/build-push-action@v5
with:
platforms: ${{ steps.buildx.outputs.platforms }}
push: true
tags: |
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ steps.tag.outputs.tag }}