unique keys
This commit is contained in:
parent
ca1ed082d5
commit
ce65246f86
2 changed files with 10 additions and 8 deletions
9
.github/workflows/package-ubuntu.yaml
vendored
9
.github/workflows/package-ubuntu.yaml
vendored
|
|
@ -89,7 +89,7 @@ jobs:
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /tmp/build-cache/arm64
|
path: /tmp/build-cache/arm64
|
||||||
key: ${{github.sha}}
|
key: ${{github.sha}}-arm64
|
||||||
|
|
||||||
|
|
||||||
# Build AMD64 container
|
# Build AMD64 container
|
||||||
|
|
@ -133,7 +133,7 @@ jobs:
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /tmp/build-cache/amd64
|
path: /tmp/build-cache/amd64
|
||||||
key: ${{github.sha}}
|
key: ${{github.sha}}-amd64
|
||||||
|
|
||||||
|
|
||||||
# On master branch, build the docker manifest file from the cached
|
# On master branch, build the docker manifest file from the cached
|
||||||
|
|
@ -141,6 +141,7 @@ jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs: [
|
needs: [
|
||||||
|
build,
|
||||||
package-arm64,
|
package-arm64,
|
||||||
package-amd64
|
package-amd64
|
||||||
]
|
]
|
||||||
|
|
@ -178,13 +179,13 @@ jobs:
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /tmp/build-cache/arm64
|
path: /tmp/build-cache/arm64
|
||||||
key: ${{github.sha}}
|
key: ${{github.sha}}-arm64
|
||||||
|
|
||||||
- name: Restore AMD64 build cache
|
- name: Restore AMD64 build cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /tmp/build-cache/amd64
|
path: /tmp/build-cache/amd64
|
||||||
key: ${{github.sha}}
|
key: ${{github.sha}}-amd64
|
||||||
|
|
||||||
- name: Format image_id
|
- name: Format image_id
|
||||||
id: formatted-image_id
|
id: formatted-image_id
|
||||||
|
|
|
||||||
9
.github/workflows/package.yaml
vendored
9
.github/workflows/package.yaml
vendored
|
|
@ -88,7 +88,7 @@ jobs:
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /tmp/build-cache/arm64
|
path: /tmp/build-cache/arm64
|
||||||
key: ${{github.sha}}
|
key: ${{github.sha}}-arm64
|
||||||
|
|
||||||
|
|
||||||
# Build AMD64 container
|
# Build AMD64 container
|
||||||
|
|
@ -131,7 +131,7 @@ jobs:
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /tmp/build-cache/amd64
|
path: /tmp/build-cache/amd64
|
||||||
key: ${{github.sha}}
|
key: ${{github.sha}}-amd64
|
||||||
|
|
||||||
|
|
||||||
# On master branch, build the docker manifest file from the cached
|
# On master branch, build the docker manifest file from the cached
|
||||||
|
|
@ -139,6 +139,7 @@ jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs: [
|
needs: [
|
||||||
|
build,
|
||||||
package-arm64,
|
package-arm64,
|
||||||
package-amd64
|
package-amd64
|
||||||
]
|
]
|
||||||
|
|
@ -176,13 +177,13 @@ jobs:
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /tmp/build-cache/arm64
|
path: /tmp/build-cache/arm64
|
||||||
key: ${{github.sha}}
|
key: ${{github.sha}}-arm64
|
||||||
|
|
||||||
- name: Restore AMD64 build cache
|
- name: Restore AMD64 build cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /tmp/build-cache/amd64
|
path: /tmp/build-cache/amd64
|
||||||
key: ${{github.sha}}
|
key: ${{github.sha}}-amd64
|
||||||
|
|
||||||
- name: Format image_id
|
- name: Format image_id
|
||||||
id: formatted-image_id
|
id: formatted-image_id
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue