Compare commits
5 Commits
master
...
7abfabf3ff
| Author | SHA1 | Date | |
|---|---|---|---|
|
7abfabf3ff
|
|||
| c13e4ec0ce | |||
| c14ff7c5b9 | |||
| d0e994fcd9 | |||
| c3cff215e3 |
@@ -13,7 +13,7 @@ jobs:
|
||||
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
|
||||
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- uses: buildtool/setup-buildtools-action@v1
|
||||
- name: Build and push
|
||||
run: unset GITEA_TOKEN && build && push
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||
environment: prod
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
- uses: buildtool/setup-buildtools-action@v1
|
||||
- name: Deploy to production
|
||||
run: deploy prod
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
stages:
|
||||
- build
|
||||
- deploy-prod
|
||||
|
||||
image: buildtool/build-tools:${BUILDTOOLS_VERSION}
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- build
|
||||
- push
|
||||
|
||||
deploy-to-prod:
|
||||
stage: deploy-prod
|
||||
when: on_success
|
||||
script:
|
||||
- echo Deploy to PROD.
|
||||
- deploy prod
|
||||
environment:
|
||||
name: prod
|
||||
only:
|
||||
- master
|
||||
+1
-1
@@ -44,7 +44,7 @@ spec:
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 5
|
||||
imagePullPolicy: Always
|
||||
image: oci.unbound.se/unboundsoftware/lingonpaj-site:${COMMIT}
|
||||
image: oci.unbound.se/unboundsoftware/lingonpaj-site@sha256:4af64942ba74210a4db65c7b8ab3fbf138eeef87c30084de855a524052f16a7e:${COMMIT}
|
||||
ports:
|
||||
- containerPort: 80
|
||||
resources:
|
||||
|
||||
Reference in New Issue
Block a user