remove unusable
This commit is contained in:
parent
d97c4d6e94
commit
cd16eaa89e
@ -1,24 +0,0 @@
|
|||||||
name: Deploy
|
|
||||||
run-name: ${{ gitea.actor }} build image and push to container registry
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- 'main'
|
|
||||||
- 'staging'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
CreateImage:
|
|
||||||
runs-on: [squizstaging]
|
|
||||||
uses: http://gitea.pena/PenaDevops/actions.git/.gitea/workflows/build-image.yml@v1.1.6-p
|
|
||||||
with:
|
|
||||||
runner: squizstaging
|
|
||||||
secrets:
|
|
||||||
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
|
|
||||||
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
|
|
||||||
DeployService:
|
|
||||||
runs-on: [squizstaging]
|
|
||||||
needs: CreateImage
|
|
||||||
uses: http://gitea.pena/PenaDevops/actions.git/.gitea/workflows/deploy.yml@v1.1.7
|
|
||||||
with:
|
|
||||||
runner: squizstaging
|
|
@ -9,6 +9,5 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o validator ./cmd/validator/
|
|||||||
FROM gitea.pena/penadevops/container-images/alpine:main
|
FROM gitea.pena/penadevops/container-images/alpine:main
|
||||||
COPY --from=build /app/core .
|
COPY --from=build /app/core .
|
||||||
COPY --from=build /app/validator .
|
COPY --from=build /app/validator .
|
||||||
COPY --from=build /app/schema /schema
|
|
||||||
RUN apk add tzdata
|
RUN apk add tzdata
|
||||||
CMD ["/core"]
|
CMD ["/core"]
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
services:
|
services:
|
||||||
corevalidate:
|
validator:
|
||||||
tty: true
|
tty: true
|
||||||
command: ./validator
|
command: ./validator
|
||||||
image: gitea.pena/squiz/core/staging:$GITHUB_RUN_NUMBER
|
image: gitea.pena/squiz/core/staging:$GITHUB_RUN_NUMBER
|
||||||
|
Loading…
Reference in New Issue
Block a user