Skip to content

Remove docker multi stage build #86

Remove docker multi stage build

Remove docker multi stage build #86

Workflow file for this run

---
name: Docker
on:
push:
branches: [master]
pull_request:
jobs:
# build job
build:
name: Build
runs-on: ubuntu-22.04
permissions:
contents: read
packages: read
strategy:
fail-fast: false
matrix:
go: ["1.22"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
filter: tree:0
- name: Setup docker QEMU
uses: docker/setup-qemu-action@v3
- name: Setup docker buildx
uses: docker/setup-buildx-action@v3
with:
driver-opts: |
image=moby/buildkit:master
network=host
- name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build docker image
run: |
make docker-buildx-build \
DOCKER_BUILD_GO_VERSION=${{ matrix.go }} \
DOCKER_BUILD_VERSION=$(git describe --always --tags --dirty --broken)-go${{ matrix.go }}