Add jobs service with script execution, configuration support, and control interface.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1f6d41ab06
commit
0ad5b5f44f
27 files changed
+1108
-45
No files matched your search
@@ -69,3 +69,20 @@ jobs:
|
||||
image="$REGISTRY/homepage-backend"
|
||||
docker build -f apps/backend/Dockerfile --build-arg BUILD_SHA=${{ gitea.sha }} -t "$image:${{ gitea.sha }}" -t "$image:${{ gitea.ref_name }}" .
|
||||
docker push --all-tags "$image"
|
||||
|
||||
jobs:
|
||||
needs: check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Log in to the registry
|
||||
run: >
|
||||
echo "${{ secrets.REGISTRY_TOKEN }}"
|
||||
| docker login "${REGISTRY%%/*}" -u "${{ secrets.REGISTRY_USER }}" --password-stdin
|
||||
|
||||
- name: Build and push
|
||||
run: |
|
||||
image="$REGISTRY/homepage-jobs"
|
||||
docker build -f apps/jobs/Dockerfile -t "$image:${{ gitea.sha }}" -t "$image:${{ gitea.ref_name }}" .
|
||||
docker push --all-tags "$image"
|
||||
Reference in new issue
Block a user