sync: remove stale build.yaml
Some checks failed
Trigger FluffyChat CI Pipeline / dispatch (push) Has been cancelled
Some checks failed
Trigger FluffyChat CI Pipeline / dispatch (push) Has been cancelled
This commit is contained in:
parent
559b2d0f75
commit
22da285cbf
1 changed files with 0 additions and 34 deletions
|
|
@ -1,34 +0,0 @@
|
||||||
name: Build and Push Continuwuity
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
repository_dispatch:
|
|
||||||
types: [continuwuity-push]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-and-push:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: docker:cli
|
|
||||||
steps:
|
|
||||||
- name: Install git
|
|
||||||
run: apk add --no-cache git
|
|
||||||
|
|
||||||
- name: Checkout Continuwuity
|
|
||||||
run: |
|
|
||||||
REF=${{ github.event.client_payload.ref || 'deployment' }}
|
|
||||||
git clone --depth 1 --branch "${REF##refs/heads/}" \
|
|
||||||
http://forgejo.tooling.svc.cluster.local:3000/ember/continuwuity.git .
|
|
||||||
|
|
||||||
- name: Build container image
|
|
||||||
run: |
|
|
||||||
SHA=${{ github.event.client_payload.sha || 'latest' }}
|
|
||||||
docker build -t 10.70.69.22:30500/ember/continuwuity:latest \
|
|
||||||
-t 10.70.69.22:30500/ember/continuwuity:${SHA} \
|
|
||||||
-f docker/Dockerfile .
|
|
||||||
|
|
||||||
- name: Push to Zot
|
|
||||||
run: |
|
|
||||||
SHA=${{ github.event.client_payload.sha || 'latest' }}
|
|
||||||
docker push 10.70.69.22:30500/ember/continuwuity:latest
|
|
||||||
docker push 10.70.69.22:30500/ember/continuwuity:${SHA}
|
|
||||||
Loading…
Add table
Reference in a new issue