Skip to content

Commit

Permalink
ci: revert build action to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Crypta-Eve authored May 22, 2024
1 parent d10f858 commit fce1c23
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- name: Get artifact name
id: getartifactname
run: echo "artifact=$(printf '%s-%s-digests' ${{ matrix.image }} ${{ matrix.platform }} | sed 's/\//-/g;s/\./-/g')" >> "$GITHUB_OUTPUT"
run: echo "artifact=$(printf '%s-digests' ${{ matrix.image }} | sed 's/\//-/g;s/\./-/g')" >> "$GITHUB_OUTPUT"

# Define tagging policy
# - everything coming in another branch than default one is considered edge (unstable)
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Build and push by digest
id: build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v4
with:
context: .
platforms: ${{ matrix.platform }}
Expand Down Expand Up @@ -119,17 +119,13 @@ jobs:
strategy:
fail-fast: false
matrix:
platform:
- linux/amd64
- linux/arm64
- linux/arm/v7
image:
- eveseat/seat
- ghcr.io/eveseat/seat
steps:
- name: Get artifact name
id: getartifactname
run: echo "artifact=$(printf '%s-%s-digests' ${{ matrix.image }} ${{ matrix.platform }} | sed 's/\//-/g;s/\./-/g')" >> "$GITHUB_OUTPUT"
run: echo "artifact=$(printf '%s-digests' ${{ matrix.image }} | sed 's/\//-/g;s/\./-/g')" >> "$GITHUB_OUTPUT"

- name: Download digests
uses: actions/download-artifact@v3
Expand Down

0 comments on commit fce1c23

Please sign in to comment.