Skip to content

Commit

Permalink
ci: fix versions for paths
Browse files Browse the repository at this point in the history
Add '8-' prefix to paths, the same prefix is added during the image build
  • Loading branch information
gsanchietti committed Jan 25, 2024
1 parent 2d4b4a4 commit 2ade1e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
- id: release
name: Update latest_release file
run: |
# Create release file pointing to VERSION
echo ${{ env.VERSION }} > latest_release
# Create release file pointing to 8-VERSION
echo 8-${{ env.VERSION }} > latest_release
- uses: actions/upload-artifact@v3
name: Publish images as temporary artifacts
with:
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
space_region: ${{ env.DO_SPACE_REGION }}
cdn_domain: ${{ env.CDN_DOMAIN }}
source: bin/packages
out_dir: ${{ env.REPO_CHANNEL }}/${{ env.VERSION }}/packages
out_dir: ${{ env.REPO_CHANNEL }}/8-${{ env.VERSION }}/packages
- uses: BetaHuhn/do-spaces-action@v2
name: Publish images inside the fixed repository
if: ${{ github.ref == 'refs/heads/main' }}
Expand All @@ -92,7 +92,7 @@ jobs:
space_region: ${{ env.DO_SPACE_REGION }}
cdn_domain: ${{ env.CDN_DOMAIN }}
source: bin/targets
out_dir: ${{ env.REPO_CHANNEL }}/${{ env.VERSION }}/targets
out_dir: ${{ env.REPO_CHANNEL }}/8-${{ env.VERSION }}/targets
- uses: BetaHuhn/do-spaces-action@v2
name: Publish latest_release inside the repository
if: ${{ github.ref == 'refs/heads/main' }}
Expand Down

0 comments on commit 2ade1e4

Please sign in to comment.