chore(deps): update dependency validators to v0.32.0 (#72) #36
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: Publish container image | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
multi-arch-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 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 DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Log in to GitHub Container registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Prepare release tag | |
id: tag | |
run: echo ::set-output name=version::${GITHUB_REF#refs/tags/v} | |
- name: Build and push | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
file: ./Dockerfile | |
platforms: linux/amd64 | |
push: true | |
labels: | | |
org.opencontainers.image.title=cleanup-gitlab-runner | |
org.opencontainers.image.description=cleanup-gitlab-runner | |
org.opencontainers.image.url=https://github.com/containeroo/cleanup-gitlab-runner | |
org.opencontainers.image.source=https://github.com/containeroo/cleanup-gitlab-runner | |
org.opencontainers.image.version=${{ steps.tag.outputs.version }} | |
tags: | | |
containeroo/cleanup-gitlab-runner:latest | |
containeroo/cleanup-gitlab-runner:${{ steps.tag.outputs.version }} | |
ghcr.io/containeroo/cleanup-gitlab-runner:latest | |
ghcr.io/containeroo/cleanup-gitlab-runner:${{ steps.tag.outputs.version }} |