Skip to content

Commit

Permalink
fix: resolve chromium platform and build name
Browse files Browse the repository at this point in the history
  • Loading branch information
amraln authored and amille44420 committed Aug 10, 2022
1 parent 3211a47 commit 98f250a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ jobs:
docker push $IMAGE_ID:$VERSION
- name: Build chromium image
run: docker build . --file docker/chromium/Dockerfile --tag $IMAGE_CHROMIUM
run: docker build . --file docker/chromium/Dockerfile --platform linux/arm64 --tag $IMAGE_CHROMIUM

- name: Log into registry
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u $DOCKER_LOGIN --password-stdin

- name: Push chromium image
run: |
IMAGE_ID=appvantage/$IMAGE_CHROMIUM
IMAGE_ID=appvantage/$IMAGE_NAME
# Change all uppercase to lowercase
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
Expand All @@ -103,5 +103,5 @@ jobs:
echo IMAGE_ID=$IMAGE_ID
echo VERSION=$VERSION
docker tag $IMAGE_CHROMIUM $IMAGE_ID:$VERSION
docker push $IMAGE_ID:$VERSION
docker tag $IMAGE_CHROMIUM $IMAGE_ID:$VERSION-chromium
docker push $IMAGE_ID:$VERSION-chromium

0 comments on commit 98f250a

Please sign in to comment.