diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 57a784f..f42d1a4 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -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