siivous
This commit is contained in:
@@ -85,11 +85,11 @@ jobs:
|
|||||||
echo "artifact_exists=$ARTIFACT_EXISTS" >> "$GITHUB_OUTPUT"
|
echo "artifact_exists=$ARTIFACT_EXISTS" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Upload build env artifact
|
- name: Upload build env artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: build-context
|
name: build-context
|
||||||
path: /tmp/build-ctx/build.env
|
path: /tmp/build-ctx/build.env
|
||||||
retention-days: 0 # <--- Poistaa suuren .tar-tiedoston automaattisesti heti kun putki on valmis
|
retention-days: 1
|
||||||
|
|
||||||
- name: Set Gitea status to SUCCESS
|
- name: Set Gitea status to SUCCESS
|
||||||
if: success()
|
if: success()
|
||||||
@@ -124,7 +124,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Download build env
|
- name: Download build env
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: build-context
|
name: build-context
|
||||||
path: /tmp/build-ctx
|
path: /tmp/build-ctx
|
||||||
@@ -177,7 +177,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload Docker image artifact
|
- name: Upload Docker image artifact
|
||||||
if: steps.gatekeeper.outputs.skip == 'false' && success()
|
if: steps.gatekeeper.outputs.skip == 'false' && success()
|
||||||
uses: actions/upload-artifact@4
|
uses: actions/upload-artifact@3
|
||||||
with:
|
with:
|
||||||
name: docker-image
|
name: docker-image
|
||||||
path: /tmp/image/artifact.tar
|
path: /tmp/image/artifact.tar
|
||||||
@@ -191,7 +191,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Download build env
|
- name: Download build env
|
||||||
uses: actions/download-artifact@4
|
uses: actions/download-artifact@3
|
||||||
with:
|
with:
|
||||||
name: build-context
|
name: build-context
|
||||||
path: /tmp/build-ctx
|
path: /tmp/build-ctx
|
||||||
@@ -213,7 +213,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Load saved Docker image
|
- name: Load saved Docker image
|
||||||
if: steps.gatekeeper.outputs.skip == 'false'
|
if: steps.gatekeeper.outputs.skip == 'false'
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: docker-image
|
name: docker-image
|
||||||
path: /tmp/image
|
path: /tmp/image
|
||||||
@@ -269,7 +269,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Download build env
|
- name: Download build env
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: build-context
|
name: build-context
|
||||||
path: /tmp/build-ctx
|
path: /tmp/build-ctx
|
||||||
|
|||||||
Reference in New Issue
Block a user