Skip to content

Commit

Permalink
👷 Prerelease tag fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarlesky committed Jan 23, 2025
1 parent 0e5d0a8 commit cf85316
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
env:
IMAGE_NAME: ${{ needs.image-details.outputs.base-name }}
IMAGE_URL: ${{ needs.image-details.outputs.base-url }}
# Image variant name is drawn from final `--dir` entry in file generation command line
IMAGE_DIR: build/standard

steps:
Expand Down Expand Up @@ -96,9 +97,9 @@ jobs:
attestations: write
id-token: write
env:
# Image variant name is drawn from final `--dir` entry in file generation command line
IMAGE_NAME: ${{ needs.image-details.outputs.base-name }}-plugins
IMAGE_URL: ${{ needs.image-details.outputs.base-url }}-plugins
# Image variant name is drawn from final `--dir` entry in file generation command line
IMAGE_DIR: build/plugins

steps:
Expand Down Expand Up @@ -154,9 +155,9 @@ jobs:
attestations: write
id-token: write
env:
# Image variant name is drawn from final `--dir` entry in file generation command line
IMAGE_NAME: ${{ needs.image-details.outputs.base-name }}-arm-none-eabi
IMAGE_URL: ${{ needs.image-details.outputs.base-url }}-arm-none-eabi
# Image variant name is drawn from final `--dir` entry in file generation command line
IMAGE_DIR: build/arm-none-eabi

steps:
Expand Down Expand Up @@ -212,9 +213,9 @@ jobs:
attestations: write
id-token: write
env:
# Image variant name is drawn from final `--dir` entry in file generation command line
IMAGE_NAME: ${{ needs.image-details.outputs.base-name }}-arm-none-eabi-plugins
IMAGE_URL: ${{ needs.image-details.outputs.base-url }}-arm-none-eabi-plugins
# Image variant name is drawn from final `--dir` entry in file generation command line
IMAGE_DIR: build/arm-none-eabi-plugins

steps:
Expand Down Expand Up @@ -268,10 +269,16 @@ jobs:
contents: write

steps:
# Capture the SHA string
- name: Git commit short SHA as environment variable
shell: bash
run: |
echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- uses: ncipollo/release-action@v1
with:
prerelease: true
allowUpdates: true
tag: ${{ github.ref }}
tag: ${{ env.SHA_SHORT }}
artifacts: "build/*/docker/Dockerfile,build/*/assets/shell/welcome"

0 comments on commit cf85316

Please sign in to comment.