Skip to content

Commit

Permalink
Dancing around GHA limitations
Browse files Browse the repository at this point in the history
  • Loading branch information
ipspace committed Jun 22, 2024
1 parent e5c82f8 commit b127c86
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/devcontainer-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@ env:
jobs:
setup:
runs-on: ubuntu-latest
outputs:
IMAGE_TAG: ${{ steps.release_tag.outputs.IMAGE_TAG }}
steps:
- name: Find release tag
run: echo "IMAGE_TAG=${GITHUB_REF_NAME#release_}" >> $GITHUB_ENV
id: release_tag
run: echo "IMAGE_TAG=${GITHUB_REF_NAME#release_}" >> $GITHUB_OUTPUT

build:
needs: [ setup ]
uses: ./.github/workflows/devcontainer-build.yml
with:
docker-tags: ${{ env.IMAGE_TAG }},latest
docker-tags: ${{ needs.setup.outputs.IMAGE_TAG }},latest
secrets:
GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }}

0 comments on commit b127c86

Please sign in to comment.