fix workflow
This commit is contained in:
8
.github/workflows/docker-image.yml
vendored
8
.github/workflows/docker-image.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user