Skip to content

Release-triggered container build #1

Release-triggered container build

Release-triggered container build #1

---
name: Build netlab devcontainer
on:
push:
tags: [ release_* ]
env:
REGISTRY: ghcr.io
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Find release tag
run: echo "IMAGE_TAG=${GITHUB_REF_NAME#release_}" >> $GITHUB_ENV
build:
uses: ./.github/workflows/devcontainer-build.yml
with:
docker-tags: ${{ env.IMAGE_TAG }},latest

Check failure on line 21 in .github/workflows/devcontainer-release.yml

View workflow run for this annotation

GitHub Actions / Build netlab devcontainer

Invalid workflow file

The workflow is not valid. .github/workflows/devcontainer-release.yml (Line: 21, Col: 20): Unrecognized named-value: 'env'. Located at position 1 within expression: env.IMAGE_TAG
secrets:
GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }}