Skip to content

FIXUP: Make release image job reusable #71

FIXUP: Make release image job reusable

FIXUP: Make release image job reusable #71

name: Release multi-arch container image
on:
workflow_dispatch:
push:
branches:
- main
- "test/**"
schedule:
- cron: "0 0 * * *" # Run every day at 00:00 UTC.
#env:
# REGISTRY:
# REGISTRY_USER: ${{ github.actor }}
# REGISTRY_PASSWORD: ${{ github.token }}
# IMAGE_NAME: dangerzone/dangerzone
# BUILDKIT_IMAGE: "docker.io/moby/buildkit:v19.0@sha256:14aa1b4dd92ea0a4cd03a54d0c6079046ea98cd0c0ae6176bdd7036ba370cbbe"
jobs:
build-push-image:
uses: ./.github/workflows/reusable/build-push-image.yml

Check failure on line 22 in .github/workflows/release-container-image.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release-container-image.yml

Invalid workflow file

invalid value workflow reference: workflows must be defined at the top level of the .github/workflows/ directory
with:
registry: ghcr.io/${{ github.repository_owner }}
registry_user: ${{ github.actor }}
registry_token : ${{ github.token }}
image_name: dangerzone/dangerzone
reproduce: true