Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ed327f78e | ||
|
|
1827c1df71 | ||
|
|
0c5fd2544b | ||
|
|
a6d5e2b026 | ||
|
|
688ea98922 | ||
|
|
d55a9cfdd5 | ||
|
|
e9021c22fa | ||
|
|
939660a715 | ||
|
|
fb3e7b20ff |
58
.gitea/workflows/build_base_images.yml
Normal file
58
.gitea/workflows/build_base_images.yml
Normal file
@@ -0,0 +1,58 @@
|
||||
name: CI
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build-base-app:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: "${{ vars.REGISTRY_URL }}"
|
||||
username: "${{ vars.REGISTRY_USER }}"
|
||||
password: "${{ vars.REGISTRY_PASS }}"
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
env:
|
||||
APP_FRANKENPHP_TAG: php8.4
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
file: docker/Dockerfile.base.worker
|
||||
platforms: linux/amd64
|
||||
build-args: |
|
||||
APP_FRANKENPHP_TAG=${{ env.APP_FRANKENPHP_TAG }}
|
||||
tags: |
|
||||
code.caldwell.digital/home/torsearch-base:${APP_FRANKENPHP_TAG}
|
||||
code.caldwell.digital/home/torsearch-base:latest
|
||||
|
||||
build-base-worker-supervisord:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: "${{ vars.REGISTRY_URL }}"
|
||||
username: "${{ vars.REGISTRY_USER }}"
|
||||
password: "${{ vars.REGISTRY_PASS }}"
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
file: docker/Dockerfile.base.worker
|
||||
platforms: linux/amd64
|
||||
build-args: |
|
||||
ALPINE_VERSION=3.22
|
||||
tags: |
|
||||
code.caldwell.digital/home/torsearch-base-worker-supervisord:latest
|
||||
Reference in New Issue
Block a user