Skip to content

feat!: Switch to github-workflows and multiarch #273

feat!: Switch to github-workflows and multiarch

feat!: Switch to github-workflows and multiarch #273

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / Docker

Invalid workflow file

The workflow is not valid. .github/workflows/docker-publish.yml (Line: 33, Col: 13): Unrecognized named-value: 'env'. Located at position 1 within expression: env.NIGHTLY_VERSION .github/workflows/docker-publish.yml (Line: 36, Col: 24): Unrecognized named-value: 'env'. Located at position 1 within expression: env.NIGHTLY_VERSION
type=raw,value=nightly
type=raw,value=${{ env.NIGHTLY_VERSION }}
build_arguments: "[NIGHTLY_VERSION=${{ env.NIGHTLY_VERSION }}]"
secrets: inherit