Merge pull request #110 from parkervcp/bastion-update-2

bastion: move to mongodb6 + python2 -> 3 + set mongodb to use always use the same log file + build for arm64
This commit is contained in:
Michael (Parker) Parker
2023-03-29 08:13:13 -04:00
committed by GitHub
3 changed files with 62 additions and 38 deletions

View File

@@ -19,6 +19,7 @@ jobs:
- parkertron
- red
- sinusbot
- bastion
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
@@ -55,30 +56,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 }}