Skip to content

Commit

Permalink
ci: fix extra erroneous steps in the main workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
id committed Oct 14, 2024
1 parent 2a8d842 commit 46a7c9b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -230,26 +230,20 @@ jobs:
file: ./Dockerfile
context: .
outputs: type=image,name=${{ steps.registry.outputs.image }},push-by-digest=true,name-canonical=true,push=true
- name: Export digests
- name: Export digests (OTP 24)
if: ${{ startsWith(matrix.otp, '24') }}
run: |
mkdir -p /tmp/digests
digest="${{ steps.build_24.outputs.digest }}"
touch "/tmp/digests/${digest#sha256:}"
- name: Upload digest
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: "digests-${{ matrix.platform.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ matrix.platform.arch == 'linux/amd64' && 'amd64' || 'arm64' }}"
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1
- name: Export digests
if: ${{ ! startsWith(matrix.otp, '24') }}
run: |
mkdir -p /tmp/digests
digest="${{ steps.build_not_24.outputs.digest }}"
touch "/tmp/digests/${digest#sha256:}"
- name: Upload digest
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
Expand Down

0 comments on commit 46a7c9b

Please sign in to comment.