Skip to content

fix: use tonistiigi/xx:latest (1.6 tag does not exist) #2

fix: use tonistiigi/xx:latest (1.6 tag does not exist)

fix: use tonistiigi/xx:latest (1.6 tag does not exist) #2

Workflow file for this run

name: Docker
on:
push:
tags:
- 'v*'
jobs:
docker:
runs-on: ubuntu-latest
environment: Default
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ secrets.DOCKERHUB_USERNAME }}/bti
tags: |
type=semver,pattern={{version}}
type=raw,value=latest
- uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max