Skip to content

Commit

Permalink
Updating pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
daithihearn committed Apr 25, 2023
1 parent 2d4ae83 commit ca35d84
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/publish-to-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
runs-on: self-hosted

steps:
- name: Login to Dockerhub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
Expand Down Expand Up @@ -46,11 +51,6 @@ jobs:
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Publish to Dockerhub
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: daithihearn/cards-110-frontend
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
platforms: linux/amd64,linux/arm64/v8
tags: "latest, ${{ github.ref_name }}"
- name: Build and publish Docker image
run: |
docker buildx build --platform linux/amd64,linux/arm64/v8 -t daithihearn/cards-110-frontend:latest -t daithihearn/cards-110-frontend:${{ github.ref_name }} --push .

0 comments on commit ca35d84

Please sign in to comment.