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:
|
||||
- main
|
||||
paths:
|
||||
- '.gitea/workflows/*.yml'
|
||||
- '!**/CHANGES.md'
|
||||
- '!**/build-info.json'
|
||||
schedule:
|
||||
@@ -37,8 +38,8 @@ jobs:
|
||||
- name: Show tarball
|
||||
run: ls -lh ${{ env.OUTPUT_TAR }}
|
||||
|
||||
- name: Clone upload repo
|
||||
run: git clone https://gitea.fithwum.tech/fithwum/alpine-base.git upload-repo
|
||||
- name: Clone repo with token auth
|
||||
run: git clone https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_TOKEN }}@gitea.fithwum.tech/fithwum/alpine-base.git upload-repo
|
||||
|
||||
- name: Copy and push tarball
|
||||
run: |
|
||||
@@ -66,11 +67,10 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Build and push Docker image
|
||||
run: |
|
||||
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login gitea.fithwum.tech -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
||||
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login gitea.fithwum.tech -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
||||
|
||||
- name: Clone upload repo
|
||||
run: git clone https://gitea.fithwum.tech/fithwum/alpine-base.git upload-repo
|
||||
- name: Clone repo with token auth
|
||||
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
|
||||
run: |
|
||||
@@ -84,11 +84,9 @@ jobs:
|
||||
update-changelog:
|
||||
needs: push-docker
|
||||
runs-on: vm-docker-build2
|
||||
|
||||
steps:
|
||||
- name: Clone repo with token auth
|
||||
run: |
|
||||
git clone https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_TOKEN }}@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: Update CHANGES.md
|
||||
run: |
|
||||
@@ -125,8 +123,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Clone repo with token auth
|
||||
run: |
|
||||
git clone https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_TOKEN }}@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: Generate build-info.json
|
||||
run: |
|
||||
@@ -167,5 +164,4 @@ jobs:
|
||||
git tag -d "build-latest" 2>/dev/null || true
|
||||
git tag "build-latest"
|
||||
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