Compare commits

...

6 Commits

Author SHA1 Message Date
Jason Tevnan 46bd2c2a83 Merge pull request 'main' (#1) from main into production
Build, Test and Register Docker Images / build-publish-frontend (push) Successful in 12s Details
Build, Test and Register Docker Images / reload-staging (push) Successful in 1s Details
Reviewed-on: #1
2025-06-30 20:44:12 +00:00
Jason Tevnan c876d1f9c3 no context
Build, Test and Register Docker Images / build-publish-frontend (push) Successful in 12s Details
Build, Test and Register Docker Images / reload-staging (push) Has been skipped Details
Build, Test and Register Docker Images / build-publish-frontend (pull_request) Successful in 13s Details
Build, Test and Register Docker Images / reload-staging (pull_request) Has been skipped Details
2025-06-30 22:38:26 +02:00
Jason Tevnan 3edd1db8d4 node dep
Build, Test and Register Docker Images / build-publish-frontend (push) Failing after 15s Details
Build, Test and Register Docker Images / reload-staging (push) Has been skipped Details
2025-06-30 22:21:52 +02:00
Jason Tevnan 1bf339304e Update README.md
Build, Test and Register Docker Images / build-publish-frontend (push) Failing after 6s Details
Build, Test and Register Docker Images / reload-staging (push) Has been skipped Details
2025-06-30 20:19:18 +00:00
Jason Tevnan 5a369e823d Update README.md 2025-06-30 20:14:16 +00:00
Jason Tevnan dadf8382f4 test branches 2025-06-30 22:13:13 +02:00
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,49 @@
name: Build, Test and Register Docker Images
on:
push:
branches:
- main
- production
pull_request:
types: [closed]
branches:
- production
jobs:
build-publish-frontend:
runs-on: coc
container:
image: docker
steps:
- name: Install node
run: apk add nodejs
- name: Login to Registry
uses: docker/login-action@v3
with:
registry: cocgit.scalingdone.com
username: ${{ secrets.RUNNER_REGISTRY_USERNAME }}
password: ${{ secrets.RUNNER_REGISTRY_PASSWORD }}
- name: Build Docker image
uses: docker/build-push-action@v6
with:
tags: |
cocgit.scalingdone.com/jat/branchingtest/appimage:latest
${{ github.ref == 'refs/heads/production' && format('cocgit.scalingdone.com/jat/branchingtest/appimage:{0}', github.sha) || '' }}
push: true
reload-staging:
if: github.ref == 'refs/heads/production'
runs-on: coc
container:
image: curlimages/curl
networks:
- coc
needs:
- build-publish-frontend
steps:
- name: Trigger Watchtower to reload docker image
run: |
echo "hi"

1
Dockerfile Normal file
View File

@ -0,0 +1 @@
FROM alpine:latest