test
All checks were successful
Build Alpine RootFS and Docker Image (latest) / build-and-push (push) Successful in 18s
Build Alpine RootFS and Docker Image (latest) / push-docker (push) Has been skipped
Build Alpine RootFS and Docker Image (latest) / update-changelog (push) Has been skipped
Build Alpine RootFS and Docker Image (latest) / update-build-info (push) Has been skipped
All checks were successful
Build Alpine RootFS and Docker Image (latest) / build-and-push (push) Successful in 18s
Build Alpine RootFS and Docker Image (latest) / push-docker (push) Has been skipped
Build Alpine RootFS and Docker Image (latest) / update-changelog (push) Has been skipped
Build Alpine RootFS and Docker Image (latest) / update-build-info (push) Has been skipped
This commit is contained in:
@@ -5,6 +5,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
|
- '.gitea/workflows/*.yml'
|
||||||
- '!**/CHANGES.md'
|
- '!**/CHANGES.md'
|
||||||
- '!**/build-info.json'
|
- '!**/build-info.json'
|
||||||
schedule:
|
schedule:
|
||||||
@@ -37,8 +38,8 @@ jobs:
|
|||||||
- name: Show tarball
|
- name: Show tarball
|
||||||
run: ls -lh ${{ env.OUTPUT_TAR }}
|
run: ls -lh ${{ env.OUTPUT_TAR }}
|
||||||
|
|
||||||
- name: Clone upload repo
|
- name: Clone repo with token auth
|
||||||
run: git clone https://gitea.fithwum.tech/fithwum/alpine-base.git upload-repo
|
run: git clone https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_TOKEN }}@gitea.fithwum.tech/fithwum/alpine-base.git upload-repo
|
||||||
|
|
||||||
- name: Copy and push tarball
|
- name: Copy and push tarball
|
||||||
run: |
|
run: |
|
||||||
@@ -66,11 +67,10 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
run: |
|
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login gitea.fithwum.tech -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
||||||
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login gitea.fithwum.tech -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
|
||||||
|
|
||||||
- name: Clone upload repo
|
- name: Clone repo with token auth
|
||||||
run: git clone https://gitea.fithwum.tech/fithwum/alpine-base.git upload-repo
|
run: git clone https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_TOKEN }}@gitea.fithwum.tech/fithwum/alpine-base.git upload-repo
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
run: |
|
run: |
|
||||||
@@ -84,11 +84,9 @@ jobs:
|
|||||||
update-changelog:
|
update-changelog:
|
||||||
needs: push-docker
|
needs: push-docker
|
||||||
runs-on: vm-docker-build2
|
runs-on: vm-docker-build2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repo with token auth
|
- name: Clone repo with token auth
|
||||||
run: |
|
run: git clone https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_TOKEN }}@gitea.fithwum.tech/fithwum/alpine-base.git upload-repo
|
||||||
git clone https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_TOKEN }}@gitea.fithwum.tech/fithwum/alpine-base.git upload-repo
|
|
||||||
|
|
||||||
- name: Update CHANGES.md
|
- name: Update CHANGES.md
|
||||||
run: |
|
run: |
|
||||||
@@ -125,8 +123,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repo with token auth
|
- name: Clone repo with token auth
|
||||||
run: |
|
run: git clone https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_TOKEN }}@gitea.fithwum.tech/fithwum/alpine-base.git upload-repo
|
||||||
git clone https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_TOKEN }}@gitea.fithwum.tech/fithwum/alpine-base.git upload-repo
|
|
||||||
|
|
||||||
- name: Generate build-info.json
|
- name: Generate build-info.json
|
||||||
run: |
|
run: |
|
||||||
@@ -167,5 +164,4 @@ jobs:
|
|||||||
git tag -d "build-latest" 2>/dev/null || true
|
git tag -d "build-latest" 2>/dev/null || true
|
||||||
git tag "build-latest"
|
git tag "build-latest"
|
||||||
git push https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_TOKEN }}@gitea.fithwum.tech/fithwum/alpine-base.git --tags
|
git push https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_TOKEN }}@gitea.fithwum.tech/fithwum/alpine-base.git --tags
|
||||||
fi
|
fi
|
||||||
|
|
||||||
Reference in New Issue
Block a user