feat!: Switch to github-workflows and multiarch #273
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
on: | ||
schedule: | ||
- cron: '31 0 * * *' | ||
workflow_dispatch: | ||
push: | ||
branches: [ "main" ] | ||
# Publish semver tags as releases. | ||
tags: [ 'v*.*.*' ] | ||
pull_request: | ||
branches: [ "main" ] | ||
env: | ||
# Uses docker.io for Docker Hub if empty | ||
REGISTRY: ghcr.io | ||
# github.repository as <account>/<repo> | ||
IMAGE_NAME: ${{ github.repository }} | ||
# Rust nightly toolchain version | ||
NIGHTLY_VERSION: ${{ vars.NIGHTLY_VERSION }} | ||
jobs: | ||
docker: | ||
uses: famedly/github-workflows/.github/workflows/docker.yml@0a94d6a32a839cbf9a93189f958ef28480f1b9ae | ||
with: | ||
push: ${{ github.event_name != 'pull_request' }} # Always build, don't publish on pull requests | ||
tags: | | ||
Check failure on line 33 in .github/workflows/docker-publish.yml GitHub Actions / DockerInvalid workflow file
|
||
type=raw,value=nightly | ||
type=raw,value=${{ env.NIGHTLY_VERSION }} | ||
build_arguments: "[NIGHTLY_VERSION=${{ env.NIGHTLY_VERSION }}]" | ||
secrets: inherit |