Compare commits

..

43 Commits

Author SHA1 Message Date
e5362bbc75 Added gitea CI/CD configuration
All checks were successful
Create Docker Image / Build Docker Image (push) Successful in 2m45s
2024-04-07 09:04:40 +10:00
9c22e3cc3b Added gitea CI/CD configuration
All checks were successful
Create Docker Image / Build Docker Image (push) Successful in 18s
2024-04-07 09:03:15 +10:00
ade1d55821 Added gitea CI/CD configuration
All checks were successful
Create Docker Image / Build Docker Image (push) Successful in 10s
2024-04-07 09:02:18 +10:00
b2a0f93490 Added gitea CI/CD configuration 2024-04-07 09:01:58 +10:00
14e82ea44a Added gitea CI/CD configuration 2024-04-07 09:01:35 +10:00
3271216541 Added gitea CI/CD configuration 2024-04-07 09:00:54 +10:00
746e40b45b Added gitea CI/CD configuration 2024-04-07 09:00:35 +10:00
4b3e2d40b9 Added gitea CI/CD configuration 2024-04-07 08:43:04 +10:00
96ce18cc2c Added gitea CI/CD configuration 2024-04-07 08:40:57 +10:00
60ca86ceb9 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 2m39s
2024-04-07 08:19:19 +10:00
7b38f818d2 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 3m5s
2024-04-07 07:31:35 +10:00
6ddad82571 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 2m40s
2024-04-06 19:36:42 +11:00
0b61ce8a59 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 10s
2024-04-06 12:46:29 +11:00
41f7f0eb06 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 3m9s
2024-04-06 12:24:59 +11:00
67189cb36a Added gitea CI/CD configuration
All checks were successful
Create Docker Image / Build Docker Image (push) Successful in 10s
2024-04-06 11:58:42 +11:00
8ef29c698f Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 12s
2024-04-06 11:56:48 +11:00
c5da59153c Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 12s
2024-04-06 11:52:06 +11:00
3faa7a6637 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 14s
2024-04-06 11:49:15 +11:00
194487897d Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 12s
2024-04-06 11:48:02 +11:00
bd48344ac4 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 11s
2024-04-06 11:47:17 +11:00
2c25aaf56c Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 12s
2024-04-06 11:45:18 +11:00
035134f3b8 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 13s
2024-04-06 11:15:01 +11:00
7e73e13782 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 10s
2024-04-06 11:07:10 +11:00
7979fac619 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 11s
2024-04-06 11:06:31 +11:00
cf6de8ac6f Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 11s
2024-04-06 11:03:56 +11:00
ebe7da000e Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 10s
2024-04-06 11:03:09 +11:00
020701b4c4 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 10s
2024-04-06 11:02:18 +11:00
37523abc72 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 11s
2024-04-06 10:58:52 +11:00
f64cc08c89 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 42s
2024-04-06 10:52:51 +11:00
68bb253718 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 0s
2024-04-06 10:51:32 +11:00
dd37748bf0 Added gitea CI/CD configuration 2024-04-06 10:50:49 +11:00
0908fc77c4 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 12s
2024-04-05 17:46:22 +11:00
adbace3552 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 6s
2024-04-05 17:32:19 +11:00
bfcf280f12 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 6s
2024-04-05 17:31:25 +11:00
e26770f997 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 8s
2024-04-05 17:30:32 +11:00
13d4b47c64 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 7s
2024-04-05 17:27:34 +11:00
e2fc7f4b6f Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 4s
2024-04-05 17:26:48 +11:00
46ca5f37e3 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 3s
2024-04-05 17:05:09 +11:00
2905fecd44 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 4s
2024-04-05 17:02:44 +11:00
73ec127618 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 19s
2024-04-05 16:51:39 +11:00
0cc8133559 Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 16s
2024-04-05 16:49:50 +11:00
70a215c46e Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 17s
2024-04-05 16:36:05 +11:00
bcac60699a Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Failing after 55s
2024-04-05 16:30:21 +11:00

View File

@ -10,44 +10,78 @@ jobs:
image: docker:dind
privileged: true
env:
ARCH: x86_64
BRANCH: master
VERSION: 8.3-fpm
DOCKER_HOST: tcp://127.0.0.1:2375
VERSIONARCH: ${VERSION}-${ARCH}
steps:
- name: Environment Setup
- name: Environment
run: |
# If we have a proxy use it
if [ ! -d build-cache ]; then mkdir build-cache; fi
if [ -n "${HTTP_PROXY}" ]; then echo "HTTP PROXY [${HTTP_PROXY}]"; sed -i -e s'/https/http/' /etc/apk/repositories; fi
# Some pre-reqs
apk add git curl nodejs
# Start docker
apk add git curl nodejs jq
( dockerd --host=tcp://0.0.0.0:2375 --tls=false & ) && sleep 3
## Some debugging info
# docker info && docker version
docker info && docker version
# env|sort
# docker login -u "$CI_DEPENDENCY_PROXY_USER" -p "$CI_DEPENDENCY_PROXY_PASSWORD" "$CI_SERVER_HOST"
#echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
echo "++ PS" && ps -Af
echo "++ Environment" && env|sort
echo "++ PWD" && pwd
echo "++ ls" && ls -al
- name: Registry FQDN Setup
- name: Checkout Code
uses: actions/checkout@v4
- name: Prepare Registry FQDN
id: registry
run: |
registry=${{ github.server_url }}
echo "registry=${registry##http*://}" >> "$GITHUB_OUTPUT"
registry=${registry##http*://}
echo "registry=${registry}" >> "$GITHUB_OUTPUT"
- name: Container Registry Login
#- name: Environment part 2
# run: |
# echo "++ Environment" && env|sort
# echo "++ PWD" && pwd
# echo "++ ls" && ls -al
# echo "++ workspace" && ls ${{ gitea.workspace }}
# echo "++ host is ${{ gitea.repository }}"
# echo "++ registry is ${{ steps.registry.outputs.registry }}"
# echo "++ container ${{ steps.registry.outputs.registry }}/${{ env.GITHUB_REPOSITORY }}:${{ env.VERSION }}"
# echo "++ gitea server/domain ${{ gitea.server }}/${{ gitea.domain }}:latest"
# echo "++ github token ${{ gitea.TOKEN }}"
# echo "++ runtime token ${{ env.ACTIONS_RUNTIME_TOKEN }}"
#- name: Build
# run: |
# set -x
# if [ -f init ]; then chmod 500 init; fi
# docker build ${HTTP_PROXY:+--build-arg HTTP_PROXY=${HTTP_PROXY}} -t ${{ steps.registry.outputs.registry }}/${{ env.GITHUB_REPOSITORY }}:${{ env.VERSION }}
# docker push ${{ steps.registry.outputs.registry }}/${{ env.GITHUB_REPOSITORY }}:${{ env.VERSION }}
# name: Set up Docker Buildx
# uses: https://github.com/docker/setup-buildx-action@v3
# with:
# config-inline: |
# [registry."<my-private-unsecure-git-repository-ip-address>:5000"]
# http = true
# insecure = true
- name: Login to Container Registry
uses: docker/login-action@v2
with:
registry: ${{ steps.registry.outputs.registry }}
username: ${{ gitea.actor }}
password: ${{ secrets.PKG_WRITE_TOKEN }}
- name: Code Checkout
uses: actions/checkout@v4
- name: Build and Push Docker Image
- name: Build and push Docker image
uses: docker/build-push-action@v5
# env:
# GIT_AUTH_TOKEN: ${{ secrets.PKG_WRITE_TOKEN }}
with:
context: .
file: ./Dockerfile
push: true
tags: "${{ steps.registry.outputs.registry }}/${{ env.GITHUB_REPOSITORY }}:${{ env.VERSIONARCH }}"
tags: "${{ steps.registry.outputs.registry }}/${{ env.GITHUB_REPOSITORY }}:${{ env.VERSION }}"