Skip to content

env in another spot #14

env in another spot

env in another spot #14

Workflow file for this run

name: Docker Image creator for sassbot experimental
on:
push:
branches:
- master
- flexiefae
env:
- IMAGEVER: ${{ github.ref_name == 'master' && 'latest' || 'experimental' }}

Check failure on line 9 in .github/workflows/publish-ghcr.yaml

View workflow run for this annotation

GitHub Actions / Docker Image creator for sassbot experimental

Invalid workflow file

The workflow is not valid. .github/workflows/publish-ghcr.yaml (Line: 9, Col: 3): A sequence was not expected
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Log in to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: bombg
password: ${{ secrets.GH_PAT }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ghcr.io/bombg/sassbot:$IMAGEVER
platforms: linux/arm64, linux/amd64