Compare commits

3 Commits
Author SHA1 Message Date
jknapp 2e8bd5bf08 Update README.md
Cloud Nginx Container / Build-and-Push (push) Successful in 1m32s
2024-10-01 21:30:45 +00:00
jknapp 87ef4cb392 Merge pull request 'Add CI' (#1) from add-ci into trunk
Reviewed-on: #1
2024-10-01 21:29:06 +00:00
shadowdao ef399a0e3d Add CI 2024-10-01 14:28:21 -07:00
2 changed files with 35 additions and 1 deletions
+34
View File
@@ -0,0 +1,34 @@
name: Cloud Nginx Container
run-name: ${{ gitea.actor }} pushed a change to trunk
on:
push:
branches:
- trunk
jobs:
Build-and-Push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3
- name: Login to Gitea
uses: docker/login-action@v3
with:
registry: repo.anhonesthost.net
username: ${{ secrets.CI_USER }}
password: ${{ secrets.CI_TOKEN }}
- name: Build Image
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
push: true
tags: |
repo.anhonesthost.net/cloud-hosting-platform/cnc:latest
+1 -1
View File
@@ -6,7 +6,7 @@ This is the base container for running PHP based applications. Select the PHP v
__You can pull this image locally by running:__ __You can pull this image locally by running:__
```console ```console
docker pull registry.dnspegasus.net/cnc:81 docker pull https://repo.anhonesthost.net/cloud-hosting-platform/cnc:81
``` ```
__You can then run a development version of the server by running the following commands:__ __You can then run a development version of the server by running the following commands:__