Skip to content

Commit faf5f91

Browse files
authored
add buildx stage
1 parent 7beb3f1 commit faf5f91

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/docker-deploy.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@ jobs:
1414
platforms: 'arm64,arm'
1515
- name: Setup Buildx
1616
uses: docker/setup-buildx-action@v2
17-
- name: Login to DockerHub
17+
- name: Login to DockerRegistry
1818
uses: docker/login-action@v2
1919
with:
2020
registry: ghcr.io
2121
username: ${{ github.actor }}
2222
password: ${{ secrets.GITHUB_TOKEN }}
2323
- name: Build and push
24-
uses: docker/build-push-action@v3
25-
with:
26-
push: true
27-
tags: ghcr.io/bbzblit/m293-project/m293-project:latest
24+
run: |
25+
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/bbzblit/m293-project/app:latest --push .

0 commit comments

Comments
 (0)