(hopefully) final version of this workflow

This commit is contained in:
2024-10-10 12:17:53 -04:00
parent d09099a77b
commit e13ce4813b

View File

@@ -17,11 +17,11 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Build and push the Docker image - name: Build and push the Docker image
run: docker build . --file Dockerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/discord-bot run: docker build . --file Dockerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/discord-bot:amd64
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Push the Docker image - name: Push the Docker image
run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/discord-bot run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/discord-bot:amd64
build_arm64: build_arm64:
runs-on: self-hosted runs-on: self-hosted
@@ -35,11 +35,11 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Build the Docker image - name: Build the Docker image
run: docker build . --file Dockerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/discord-bot run: docker build . --file Dockerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/discord-bot:arm64
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Push the Docker image - name: Push the Docker image
run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/discord-bot run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/discord-bot:arm64
create_manifest: create_manifest:
needs: [build_amd64, build_arm64] needs: [build_amd64, build_arm64]