Compare commits

...

2 Commits

Author SHA1 Message Date
549c47bac4 Merge pull request 'adding gitea image build workflows' (#1) from work into main
All checks were successful
/ Plan (push) Successful in 10s
Reviewed-on: #1
2024-11-25 09:26:50 -06:00
6a7160be41 adding gitea image build workflows
All checks were successful
/ Plan (push) Successful in 44s
/ Plan (pull_request) Successful in 14s
2024-11-25 09:25:08 -06:00
2 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,28 @@
Name: Terraform Processing
run-name: ${{ gitea.actor }}
on:
push:
branches:
- "**"
- "!master"
jobs:
Plan:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
#
- name: List Contents
id: ls
run: ls -al
- name: Deploy
run: |
echo "${{ secrets.GITEASECRET_TOKEN }}" | docker login git.hamik.net -u paradizelost --password-stdin
docker build -t git.hamik.net/paradizelost/proftpd:latest .

View File

@ -0,0 +1,24 @@
Name: Container Build Push
run-name: ${{ gitea.actor }}
on:
pull_request:
types: [closed]
jobs:
Plan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: List Contents
id: ls
run: ls -al
- name: Deploy
run: |
echo "${{ secrets.GITEASECRET_TOKEN }}" | docker login git.hamik.net -u paradizelost --password-stdin
docker build -t git.hamik.net/paradizelost/proftpd:latest .
docker push git.hamik.net/paradizelost/proftpd