Skip to content

env -> vars

env -> vars #2

Workflow file for this run

name: Builder Image 🧰
on:
push:
branches:
- 'hello-world'
permissions:
packages: write
jobs:
preview:
name: Preview 👁️
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Unit Tests 🧪
uses: docker://${{ vars.GHCR_BUILDER_IMAGE }}

Check failure on line 20 in .github/workflows/builder.yml

View workflow run for this annotation

GitHub Actions / Builder Image 🧰

Invalid workflow file

The workflow is not valid. .github/workflows/builder.yml (Line: 20, Col: 15): Unrecognized named-value: 'vars'. Located at position 1 within expression: vars.GHCR_BUILDER_IMAGE .github/workflows/builder.yml (Line: 60, Col: 15): Unrecognized named-value: 'vars'. Located at position 1 within expression: vars.GHCR_BUILDER_IMAGE
with:
args: make test-dart-ci
deploy:
name: Push 📤
runs-on: ubuntu-latest
environment:
name: build
url: https://${{ vars.GHCR_BUILDER_IMAGE }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Docker Buildx 🧰
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry 🔒
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Image 🐳
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ vars.GHCR_BUILDER_IMAGE }}
file: Builder.Dockerfile
stable:
name: Stable 🏁
runs-on: ubuntu-latest
needs: deploy
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Unit Tests 🧪
uses: docker://${{ vars.GHCR_BUILDER_IMAGE }}
with:
args: make test-dart-ci