Publish dev images to both GHCR and Docker Hub from the dev workflow and drop the GitLab CI pipeline, so all images are built by GitHub Actions only.
26 lines
453 B
YAML
26 lines
453 B
YAML
name: Dev images
|
|
|
|
# On every push to the dev branch, build all three images and push them to
|
|
# GHCR and Docker Hub tagged `dev`.
|
|
|
|
on:
|
|
push:
|
|
branches: [dev]
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: docker-dev-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
|
|
jobs:
|
|
build-push:
|
|
uses: ./.github/workflows/_docker-build-push.yml
|
|
with:
|
|
push: true
|
|
tag_mode: dev
|
|
secrets: inherit
|