bastion: move images arround so it can be build for arm64.
This commit is contained in:
55
.github/workflows/bot.yml
vendored
55
.github/workflows/bot.yml
vendored
@@ -19,6 +19,7 @@ jobs:
|
||||
- parkertron
|
||||
- red
|
||||
- sinusbot
|
||||
- bastion
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
@@ -56,30 +57,30 @@ jobs:
|
||||
rm -rf /tmp/.buildx-cache
|
||||
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
||||
|
||||
pushAmd:
|
||||
name: "yolks:bot_${{ matrix.tag }}"
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
tag:
|
||||
- bastion
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: docker/setup-buildx-action@v1
|
||||
with:
|
||||
version: "v0.7.0"
|
||||
buildkitd-flags: --debug
|
||||
- uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: ./bot/${{ matrix.tag }}
|
||||
file: ./bot/${{ matrix.tag }}/Dockerfile
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/parkervcp/yolks:bot_${{ matrix.tag }}
|
||||
# pushAmd:
|
||||
# name: "yolks:bot_${{ matrix.tag }}"
|
||||
# runs-on: ubuntu-latest
|
||||
# strategy:
|
||||
# fail-fast: false
|
||||
# matrix:
|
||||
# tag:
|
||||
# - bastion
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - uses: docker/setup-buildx-action@v1
|
||||
# with:
|
||||
# version: "v0.7.0"
|
||||
# buildkitd-flags: --debug
|
||||
# - uses: docker/login-action@v1
|
||||
# with:
|
||||
# registry: ghcr.io
|
||||
# username: ${{ github.repository_owner }}
|
||||
# password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
# - uses: docker/build-push-action@v2
|
||||
# with:
|
||||
# context: ./bot/${{ matrix.tag }}
|
||||
# file: ./bot/${{ matrix.tag }}/Dockerfile
|
||||
# platforms: linux/amd64
|
||||
# push: true
|
||||
# tags: |
|
||||
# ghcr.io/parkervcp/yolks:bot_${{ matrix.tag }}
|
||||
|
Reference in New Issue
Block a user