Skip to content

Update module github.com/docker/docker to v20.10.27+incompatible [SEC… #122

Update module github.com/docker/docker to v20.10.27+incompatible [SEC…

Update module github.com/docker/docker to v20.10.27+incompatible [SEC… #122

Workflow file for this run

name: docker
on:
push:
branches:
- master
paths:
- .github/workflows/docker.yaml
- '**.go'
- go.*
- Dockerfile
tags:
- v*
pull_request:
branches:
- master
paths:
- .github/workflows/docker.yaml
- '**.go'
- go.*
- Dockerfile
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/metadata-action@v5
id: metadata
with:
images: ghcr.io/${{ github.repository }}
- uses: int128/docker-build-cache-config-action@v1
id: cache
with:
image: ghcr.io/${{ github.repository }}/cache
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v5
with:
push: ${{ github.event_name == 'push' }}
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
cache-from: ${{ steps.cache.outputs.cache-from }}
cache-to: ${{ steps.cache.outputs.cache-to }}
platforms: linux/amd64,linux/arm64,linux/arm/v7