mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
docker: push both multiple image tags (#6614)
* docker: push both multiple image tags * Remove matrix strategy
This commit is contained in:
parent
39ba25c5ed
commit
3b9fae6279
12
.github/workflows/docker.yaml
vendored
12
.github/workflows/docker.yaml
vendored
@ -58,15 +58,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
python_version: "3.11"
|
python_version: "3.11"
|
||||||
strategy:
|
runs-on: ubuntu-latest # in the future we can try to use alternative runners here
|
||||||
matrix:
|
|
||||||
platform: ["linux/amd64", "linux/arm64"]
|
|
||||||
include:
|
|
||||||
- platform: linux/amd64
|
|
||||||
os: ubuntu-latest
|
|
||||||
- platform: linux/arm64
|
|
||||||
os: ubuntu-latest # in the future we can try to use alternative runners here
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
@ -151,7 +143,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # pin@v5.0.0
|
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # pin@v5.0.0
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: ${{ matrix.platform }}
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
sbom: true
|
sbom: true
|
||||||
provenance: false
|
provenance: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user