task(ci): build base images
This commit is contained in:
@@ -57,8 +57,18 @@ jobs:
|
|||||||
username: "${{ vars.REGISTRY_USER }}"
|
username: "${{ vars.REGISTRY_USER }}"
|
||||||
password: "${{ vars.REGISTRY_PASS }}"
|
password: "${{ vars.REGISTRY_PASS }}"
|
||||||
|
|
||||||
- name: Create torsearch-scheduler docker image
|
- name: Build and push
|
||||||
run: |
|
uses: docker/build-push-action@v5
|
||||||
export ALPINE_VERSION=3.22
|
env:
|
||||||
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}" .
|
ALPINE_VERSION: 3.22
|
||||||
docker push --platform=linux/amd64 code.caldwell.digital/home/torsearch-base-worker-supervisord:latest
|
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