release: Google API Linter v1.67.6 #98
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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,riscv64,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@v6 | |
with: | |
platforms: ${{ steps.buildx.outputs.platforms }} | |
push: true | |
tags: | | |
ghcr.io/${{ github.repository }}:latest | |
ghcr.io/${{ github.repository }}:${{ steps.tag.outputs.tag }} |