6 Commits
Author SHA1 Message Date
andrew 76560e76ec standarizing gitea action files, and commenting on all differences
Push Develop / docker (push) Successful in 39s
Sync GitHub / sync (push) Successful in 6s
Push Docker / docker (push) Successful in 44s
2026-06-17 12:11:56 -04:00
andrew a7d51253a3 gitea only allows simple glob matcher
Push Develop / docker (push) Successful in 39s
Sync GitHub / sync (push) Successful in 6s
Push Docker / docker (push) Successful in 43s
2026-06-17 10:43:41 -04:00
andrew 0ca7d70e56 cleaning up gitea actions
Push Develop / docker (push) Successful in 1m10s
Sync GitHub / sync (push) Successful in 6s
2026-06-17 10:29:56 -04:00
andrew 4fffbd947d updating docker build workflow for any version tags
Sync GitHub / sync (push) Successful in 6s
2026-06-14 15:42:20 -04:00
andrew c0caf0f071 setting up sync from Gitea to GitHub, and making Docker Push reuseable.
Push Docker / docker (push) Successful in 9m54s
Sync GitHub / sync (push) Successful in 6s
2026-06-14 14:08:34 -04:00
andrew 5aa89a78a1 trying to setup a workflow to automate docker building
docker / docker (push) Failing after 31s
2026-05-27 17:05:43 -04:00
3 changed files with 128 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
name: Push Develop
on:
push:
branches:
- 'main'
- 'develop'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build image
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
${{ vars.DOCKERHUB_TARGET }}:develop
# for this project, we have a php image variant
- name: Build php image
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.php
push: true
platforms: linux/amd64,linux/arm64
tags: |
${{ vars.DOCKERHUB_TARGET }}:develop-php
+46
View File
@@ -0,0 +1,46 @@
name: Push Docker
on:
push:
tags:
- '*.*.*'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build image
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
${{ vars.DOCKERHUB_TARGET }}:latest
${{ vars.DOCKERHUB_TARGET }}:${{ github.ref_name }}
# for this project, we have a php image variant
- name: Build php image
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.php
push: true
platforms: linux/amd64,linux/arm64
tags: |
${{ vars.DOCKERHUB_TARGET }}:latest-php
${{ vars.DOCKERHUB_TARGET }}:${{ github.ref_name }}-php
+37
View File
@@ -0,0 +1,37 @@
name: Sync GitHub
on:
push:
branches:
- '**'
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config --global user.name "Andrew Sync"
git config --global user.email "sync@digitaladapt.com"
- name: Add GitHub Remote
env:
SYNC_TOKEN: ${{ secrets.SYNC_GITHUB_TOKEN }}
SYNC_TARGET: ${{ vars.SYNC_GITHUB_TARGET }}
run: |
git remote add github "https://digitaladapt:${SYNC_TOKEN}@github.com/$SYNC_TARGET"
- name: Push Current Branch
run: |
git push github HEAD:${GITHUB_REF_NAME}
- name: Push Tags
run: |
git push github --tags