Skip to content

chore(ci): add workflow to build and push images #9

chore(ci): add workflow to build and push images

chore(ci): add workflow to build and push images #9

Workflow file for this run

---
name: Docker
on:
push:
tags: [ '*.*.*' ]
env:
VERSION: "4.6.2-r1"
jobs:
docker-ghcr:
uses: famedly/github-workflows/.github/workflows/docker.yml@c75c3f1df7eacac1288b026a36d08112770d62ad
with:
push: ${{ github.event_name != 'pull_request' }} # Always build, don't publish on pull requests
image_name: famedly/powerdns
build_args: '["VERSION=${{ github.ref_name }}"]'

Check failure on line 17 in .github/workflows/docker.yml

View workflow run for this annotation

GitHub Actions / Docker

Invalid workflow file

The workflow is not valid. .github/workflows/docker.yml (Line: 17, Col: 19): Invalid input, build_args is not defined in the referenced workflow.
docker-nexus:
uses: famedly/github-workflows/.github/workflows/docker.yml@c75c3f1df7eacac1288b026a36d08112770d62ad
with:
push: ${{ github.event_name != 'pull_request' }} # Always build, don't publish on pull requests
registry_user: famedly-ci
registry: docker-oss.nexus.famedly.de
image_name: powerdns
build_args: '["VERSION=${{ github.ref_name }}"]'
secrets: inherit