env -> vars #2
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: 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 GitHub Actions / Builder Image 🧰Invalid workflow file
|
||
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 |