Skip to content

Commit

Permalink
#106 Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yashmerino committed Jul 12, 2024
1 parent 062ec0e commit 7bb0968
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/publish-ui-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,11 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build and push
run: |
cd online-shop-ui
docker buildx build --platform linux/amd64,linux/arm64 -t ${{ secrets.DOCKER_USERNAME }}/online-shop-ui:latest . --push
docker build -t ${{ secrets.DOCKER_USERNAME }}/online-shop-ui:latest .
docker push ${{ secrets.DOCKER_USERNAME }}/online-shop-ui:latest
- name: Logout from Docker Hub
run: docker logout
run: docker logout
2 changes: 1 addition & 1 deletion online-shop-ui/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm64v8/node:18-alpine
FROM node:18-alpine

WORKDIR /online-shop-ui/

Expand Down

0 comments on commit 7bb0968

Please sign in to comment.