Skip to content

Commit

Permalink
Fixing pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
daithihearn committed Apr 24, 2023
1 parent f006aa8 commit 3b4c2c9
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/publish-to-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,11 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: actions/checkout@v3
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v1
- name: Build and publish Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
platforms: linux/amd64,linux/arm64/v8
tags: |
daithihearn/electricity-prices-dashboard:latest
daithihearn/electricity-prices-dashboard:${{ github.ref_name }}
output: "type=registry,ref=$IMAGE_NAME:${{ github.sha }},name=manifest"
run: |
docker buildx build --platform linux/amd64,linux/arm64/v8 -t daithihearn/electricity-prices-dashboard:latest -t daithihearn/electricity-prices-dashboard:${{ github.ref_name }} --push .

0 comments on commit 3b4c2c9

Please sign in to comment.