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
24
.github/workflows/root.yml
vendored
24
.github/workflows/root.yml
vendored
@ -33,30 +33,12 @@ jobs:
|
|||||||
id: date
|
id: date
|
||||||
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
|
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
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
|
|
||||||
- name: Gradle (Build)
|
- name: Gradle (Build)
|
||||||
run: "./gradlew 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
|
- name: Login to Gitea Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
|
|
||||||
@ -73,3 +55,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Push the latest Docker image
|
- 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