task(ci): build base images
This commit is contained in:
@@ -57,8 +57,18 @@ jobs:
|
||||
username: "${{ vars.REGISTRY_USER }}"
|
||||
password: "${{ vars.REGISTRY_PASS }}"
|
||||
|
||||
- name: Create torsearch-scheduler docker image
|
||||
run: |
|
||||
export ALPINE_VERSION=3.22
|
||||
docker buildx build --platform=linux/amd64 -f docker/Dockerfile.base.worker -t code.caldwell.digital/home/torsearch-base-worker-supervisord:latest --build-arg "ALPINE_VERSION=${ALPINE_VERSION}" .
|
||||
docker push --platform=linux/amd64 code.caldwell.digital/home/torsearch-base-worker-supervisord:latest
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
env:
|
||||
ALPINE_VERSION: 3.22
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
file: docker/Dockerfile.base.worker
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: |
|
||||
code.caldwell.digital/home/torsearch-base-worker-supervisord:latest
|
||||
|
||||
# - name: Create torsearch-scheduler docker image
|
||||
# run: |
|
||||
# docker buildx build --platform=linux/amd64 -f docker/Dockerfile.base.worker -t code.caldwell.digital/home/torsearch-base-worker-supervisord:latest --build-arg "ALPINE_VERSION=${ALPINE_VERSION}" .
|
||||
|
||||
Reference in New Issue
Block a user