fix workflow

This commit is contained in:
2024-10-10 11:50:53 -04:00
parent cb3ea8a496
commit c2b0395657

View File

@@ -3,8 +3,6 @@ name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build_amd64:
@@ -19,7 +17,11 @@ jobs:
- uses: actions/checkout@v4
- name: Build and push the Docker image
run: docker build . --push --file Dockerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/discord-bot
run: docker build . --file Dockerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/discord-bot
- uses: actions/checkout@v4
- name: Push the Docker image
run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/discord-bot
build_arm64:
runs-on: self-hosted