Some checks failed
Docker / docker (push) Failing after 35s
- act_runner.compose.yml: auto-register with forge, mount Docker socket - act_runner.config.yaml: pass Docker socket to job containers, host network - docker.yml: drop QEMU/multi-arch, build linux/amd64 only (faster) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
37 lines
808 B
YAML
37 lines
808 B
YAML
name: Docker
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
docker:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: buildx
|
|
uses: docker/setup-buildx-action@v2
|
|
|
|
- name: login
|
|
uses: docker/login-action@v2
|
|
with:
|
|
registry: forge.dilain.com
|
|
username: ${{ github.actor }}
|
|
password: ${{ github.token }}
|
|
|
|
- name: build and push
|
|
uses: docker/build-push-action@v3
|
|
with:
|
|
context: .
|
|
file: ./docker/Dockerfile
|
|
platforms: linux/amd64
|
|
push: true
|
|
cache-from: type=gha
|
|
cache-to: type=gha,mode=max
|
|
tags: |
|
|
forge.dilain.com/laurent/nabarr:master
|
|
forge.dilain.com/laurent/nabarr:latest
|