fuck the cache, it didnt wanna work properly anyways
Some checks failed
Build & Publish / build (push) Failing after 3m53s
Some checks failed
Build & Publish / build (push) Failing after 3m53s
This commit is contained in:
parent
2c36e0c3b5
commit
9228529f18
32
.github/workflows/root.yml
vendored
32
.github/workflows/root.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
steps:
|
||||
- name: Disable SSL verify (Temporary Fix)
|
||||
run: git config --global http.sslVerify false
|
||||
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up QEMU
|
||||
@ -33,29 +33,11 @@ jobs:
|
||||
id: date
|
||||
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
|
||||
|
||||
- name: Gradle Cache
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-Feixiao
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Gradle (Build)
|
||||
run: "./gradlew build"
|
||||
|
||||
- name: Gradle Cache
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-Feixiao
|
||||
|
||||
- name: Login to Gitea Registry
|
||||
uses: docker/login-action@v3
|
||||
@ -67,9 +49,15 @@ jobs:
|
||||
|
||||
- name: Build the Docker image
|
||||
run: docker build -t pi5:8125/jansel/feixiao:latest -t pi5:8125/jansel/feixiao:${{ steps.date.outputs.date }} .
|
||||
|
||||
|
||||
- name: Push the Docker image related to this workflow
|
||||
run: docker push pi5:8125/jansel/feixiao:${{ steps.date.outputs.date }}
|
||||
|
||||
|
||||
- name: Push the latest Docker image
|
||||
run: docker push pi5:8125/jansel/feixiao:latest
|
||||
run: docker push pi5:8125/jansel/feixiao:latest
|
||||
|
||||
- name: Remove the Docker image
|
||||
run: docker rmi pi5:8125/jansel/feixiao:${{ steps.date.outputs.date }}
|
||||
|
||||
- name: Force remove the latest Docker image
|
||||
run: docker rmi pi5:8125/jansel/feixiao:latest --force
|
||||
|
Loading…
x
Reference in New Issue
Block a user