Skip to content

Commit

Permalink
chore: update workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 22, 2022
1 parent a0462db commit fc3431f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
run: echo ${{ github.token }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Build docker image
run: docker buildx build --platform=linux/amd64,linux/arm64,linux/x86_64 -t ghcr.io/jaywcjlove/reference:latest .
run: docker build -t ghcr.io/jaywcjlove/reference:latest .

- name: Publish to GitHub registry
run: docker push ghcr.io/jaywcjlove/reference:latest
Expand All @@ -115,7 +115,7 @@ jobs:
run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }}

- name: Build reference image
run: docker buildx build --platform=linux/amd64,linux/arm64,linux/x86_64 -t reference .
run: docker image build -t reference .

- name: Tags & Push image(latest)
run: |
Expand Down

0 comments on commit fc3431f

Please sign in to comment.