Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed Jan 17, 2025
1 parent 153d9a1 commit a27f304
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/publish_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ jobs:
if: ${{ matrix.os == 'ubuntu-24.04' }}
run: echo "ARCH_TAG=amd64" >> $GITHUB_ENV

- name: Set architecture tag (arm64)
- name: Set architecture tag (arm)
if: ${{ contains(matrix.os, 'arm') }}
run: echo "ARCH_TAG=arm64" >> $GITHUB_ENV

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-${{ matrix.os }}
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build Docker image
uses: docker/build-push-action@v6
Expand Down Expand Up @@ -82,12 +82,11 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
merge-multiple: true
pattern: "ubuntu-*.tar"
path: ${{ runner.temp }}
path: images

- name: Load image (arm)
run: |
docker load --input ${{ runner.temp }}/ubuntu-24.04-arm.tar
docker load --input ${{ runner.temp }}/ubuntu-24.04.tar
docker load --input images/ubuntu-24.04-arm.tar
docker load --input images/ubuntu-24.04.tar
docker image ls -a

0 comments on commit a27f304

Please sign in to comment.