Skip to content

Commit

Permalink
docs gh actions build
Browse files Browse the repository at this point in the history
  • Loading branch information
newtondotcom committed Jan 1, 2024
1 parent 10ef3ec commit e6325c1
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: cd to worker
run: |
cd worker
- name: Build and push AMD64
uses: docker/build-push-action@v4
with:
context: .
context: ./worker
file: ./worker/Dockerfile
push: true
tags: ${{ env.WORKER_TAG }}-amd64
platforms: linux/amd64
Expand All @@ -41,13 +39,11 @@
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: cd to worker
run: |
cd worker
- name: Build and push ARM64
uses: docker/build-push-action@v4
with:
context: .
context: ./worker
file: ./worker/Dockerfile
push: true
tags: ${{ env.WORKER_TAG }}-arm64
platforms: linux/arm64/v8
Expand All @@ -63,13 +59,11 @@
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: cd to worker
run: |
cd cleans3
- name: Build and push AMD64
uses: docker/build-push-action@v4
with:
context: .
context: ./cleans3
file: ./cleans3/Dockerfile
push: true
tags: ${{ env.CLEANS3_TAG }}-amd64
platforms: linux/amd64
Expand All @@ -87,13 +81,11 @@
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: cd to worker
run: |
cd cleans3
- name: Build and push ARM64
uses: docker/build-push-action@v4
with:
context: .
with:
context: ./cleans3
file: ./cleans3/Dockerfile
push: true
tags: ${{ env.CLEANS3_TAG }}-arm64
platforms: linux/arm64/v8
Expand Down

0 comments on commit e6325c1

Please sign in to comment.