Compare commits

..

5 Commits

Author SHA1 Message Date
a50c8bdba7 Merge pull request 'feature-test' (#2) from feature-test into master
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
Reviewed-on: https://git.chopark.home/wesscho/catalog26/pulls/2
2026-02-01 23:13:02 +00:00
154e9039c3 add env variable
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 28s
2026-02-01 15:09:30 -08:00
cca9457769 update build and push commands
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 34s
2026-02-01 09:08:42 -08:00
b7df8c0cc3 actions_token
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 45s
2026-02-01 00:30:15 -08:00
439dc9ddef git login via https
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 3s
2026-02-01 00:20:25 -08:00

View File

@@ -2,6 +2,9 @@ name: Gitea Actions Demo
run-name: ${{ github.actor }} is building and pushing 🚀
on: [push]
env:
REGISTRY: git.chopark.home
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
@@ -13,14 +16,17 @@ jobs:
# We use single quotes around the secret to prevent shell interpretation
# and the VM IP to bypass the 'server' DNS issue.
run: |
echo '${{ secrets.GITEA_TOKEN }}' | docker login git.chopark.home:3000 --username ${{ github.actor }} --password-stdin
echo '${{ secrets.REGISTRY_TOKEN }}' | \
docker login ${{ env.REGISTRY }} \
--username ${{ gitea.actor }} \
--password-stdin
- name: Build and Push Docker Image
run: |
docker build -t git.chopark.home:3000/${{ github.repository }}:latest .
docker push git.chopark.home:3000/${{ github.repository }}:latest
docker build -t ${{ env.REGISTRY }}/${{ gitea.repository }}:latest .
docker push ${{ env.REGISTRY }}/${{ gitea.repository }}:latest
- name: List files in the repository
run: ls ${{ github.workspace }}
- run: echo "🍏 Build and Push status is ${{ job.status }}."
- run: echo "🍏 Build and Push status is ${{ job.status }}."