You've already forked docker-compose-docker
The following downloads the finished docker-compose v5 binary and delivers it as a scratch container image.
46 lines
941 B
YAML
46 lines
941 B
YAML
name: Build
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- reopened
|
|
- synchronize
|
|
push:
|
|
branches:
|
|
- master
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
build-arm64:
|
|
runs-on: ubuntu-latest-arm64
|
|
steps:
|
|
- uses: actions/checkout@v6.0.1
|
|
|
|
- name: Build image
|
|
run: |
|
|
TAG=latest
|
|
|
|
docker buildx build \
|
|
--platform linux/arm64 \
|
|
--file Dockerfile \
|
|
--provenance false \
|
|
--tag git.cryptic.systems/volker.raschek/docker-compose:${TAG}-arm64 \
|
|
.
|
|
|
|
build-amd64:
|
|
runs-on: ubuntu-latest-amd64
|
|
steps:
|
|
- uses: actions/checkout@v6.0.1
|
|
|
|
- name: Build image
|
|
run: |
|
|
TAG=latest
|
|
|
|
docker buildx build \
|
|
--platform linux/amd64 \
|
|
--file Dockerfile \
|
|
--provenance false \
|
|
--tag git.cryptic.systems/volker.raschek/docker-compose:${TAG}-amd64 \
|
|
.
|