Merge pull request #160 from containeroo/renovate/alpine_3_20-curl-8.x #131
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@v4 | |
- 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=alpine-toolbox | |
org.opencontainers.image.description=alpine-toolbox | |
org.opencontainers.image.url=https://github.com/containeroo/alpine-toolbox | |
org.opencontainers.image.source=https://github.com/containeroo/alpine-toolbox | |
org.opencontainers.image.version=${{ steps.tag.outputs.version }} | |
tags: | | |
ghcr.io/containeroo/alpine-toolbox:latest | |
ghcr.io/containeroo/alpine-toolbox:${{ steps.tag.outputs.version }} |