attempt to fix build workflow
@@ -15,9 +15,10 @@ jobs:
- name: checkout repository
uses: actions/checkout@v2
- # - name: build docker images
- # run: |
- # docker compose build
+ - name: build docker images
+ run: |
+ docker build . -f karen/Dockerfile -t villager-bot_karen:latest
+ docker build . -f bot/Dockerfile -t villager-bot_bot:latest
# - name: upload bot image
# uses: ishworkh/docker-image-artifact-upload@v1
@@ -29,17 +30,7 @@ jobs:
# with:
# image: "villager-bot-karen:latest"
- - name: set up docker buildx
- id: buildx
- uses: docker/setup-buildx-action@v1.5.1
- with:
- version: latest
- install: true
-
- - name: build and push docker images
- uses: docker/build-push-action@v2.6.1
- with:
- push: true
- cache-to: type=gha, scope=${{github.repository}}
- cache-from: type=gha, scope=${{github.repository}}
- tags: villager-bot-bot:latest,villager-bot-karen:latest
+ - name: push docker images
+ run: |
+ docker push ghcr.io/Iapetus-11/villager-bot_karen:latest
+ docker push ghcr.io/Iapetus-11/villager-bot_bot:latest
