Skip to content

Commit 6273638

Browse files
committed
fix multi platform docker images for snapshots
1 parent 707ac3e commit 6273638

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/maven-master.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ jobs:
4747
- name: Deploy Maven Snapshot
4848
if: ${{ matrix.java == 11 }}
4949
run: |
50-
export DOCKER_GENERATOR_IMAGE_NAME=swaggerapi/swagger-generator
51-
export DOCKER_CODEGEN_CLI_IMAGE_NAME=swaggerapi/swagger-codegen-cli
5250
export MY_POM_VERSION=`mvn -q -Dexec.executable="echo" -Dexec.args='${projects.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec`
5351
echo "POM VERSION" ${MY_POM_VERSION}
5452
if [[ $MY_POM_VERSION =~ ^.*SNAPSHOT$ ]];
@@ -66,7 +64,7 @@ jobs:
6664
push: true
6765
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
6866
provenance: false
69-
tags: $DOCKER_GENERATOR_IMAGE_NAME:unstable
67+
tags: swaggerapi/swagger-generator:unstable
7068
- name: Build CLI image and push
7169
uses: docker/build-push-action@v5
7270
if: env.SNAP == 'true'
@@ -75,7 +73,7 @@ jobs:
7573
push: true
7674
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
7775
provenance: false
78-
tags: $DOCKER_CODEGEN_CLI_IMAGE_NAME:unstable
76+
tags: swaggerapi/swagger-codegen-cli:unstable
7977
build-java8:
8078

8179
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)