Skip to content

Commit b8b938f

Browse files
committed
feat: add legacy aliases for wine, mono
1 parent 3ffd13d commit b8b938f

2 files changed

Lines changed: 38 additions & 2 deletions

File tree

.github/workflows/mono.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ jobs:
6464

6565
- run: docker buildx prune -af
6666

67-
- uses: docker/build-push-action@v6
67+
- if: ${{ matrix.mono != 'latest' }}
68+
uses: docker/build-push-action@v6
6869
with:
6970
context: .
7071
file: ./mono/${{ matrix.mono }}/Dockerfile
@@ -77,6 +78,22 @@ jobs:
7778
provenance: mode=max
7879
sbom: true
7980

81+
- if: ${{ matrix.mono == 'latest' }}
82+
uses: docker/build-push-action@v6
83+
with:
84+
context: .
85+
file: ./mono/${{ matrix.mono }}/Dockerfile
86+
platforms: linux/amd64,linux/arm64/v8
87+
push: true
88+
pull: true
89+
tags: |
90+
cubecoders/ampbase:mono-${{ matrix.mono }}
91+
cubecoders/ampbase:mono
92+
cache-from: type=gha,scope=${{ github.workflow }}-${{ matrix.mono }}
93+
cache-to: type=gha,mode=max,scope=${{ github.workflow }}-${{ matrix.mono }}
94+
provenance: mode=max
95+
sbom: true
96+
8097
concurrency:
8198
group: ${{ github.workflow }}-${{ github.ref }}
8299
cancel-in-progress: false

.github/workflows/wine.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ jobs:
102102

103103
- run: docker buildx prune -af
104104

105-
- uses: docker/build-push-action@v6
105+
- if: ${{ matrix.version != 'stable' }}
106+
uses: docker/build-push-action@v6
106107
with:
107108
context: .
108109
file: ./wine/${{ matrix.version }}/Dockerfile
@@ -117,6 +118,24 @@ jobs:
117118
provenance: mode=max
118119
sbom: true
119120

121+
- if: ${{ matrix.version == 'stable' }}
122+
uses: docker/build-push-action@v6
123+
with:
124+
context: .
125+
file: ./wine/${{ matrix.version }}/Dockerfile
126+
platforms: linux/amd64,linux/arm64/v8
127+
push: true
128+
pull: true
129+
tags: |
130+
cubecoders/ampbase:wine-${{ matrix.version }}
131+
cubecoders/ampbase:wine
132+
cache-from: |
133+
type=gha,scope=${{ github.workflow }}-common
134+
type=gha,scope=${{ github.workflow }}-${{ matrix.version }}
135+
cache-to: type=gha,mode=max,scope=${{ github.workflow }}-${{ matrix.version }}
136+
provenance: mode=max
137+
sbom: true
138+
120139
concurrency:
121140
group: ${{ github.workflow }}-${{ github.ref }}
122141
cancel-in-progress: false

0 commit comments

Comments
 (0)