Push wildfly docker image on master build
MODIFY
.github/workflows/verify.yaml
.github/workflows/verify.yaml
@@ -46,3 +46,9 @@ jobs:
run: mvn test install -Dinvoker.skip -Dmaven.javadoc.skip=true -B -Dapiman.gateway-test.config=vertx3-file
- name: Run Tests (AMG 1)
run: mvn test install -Dinvoker.skip -Dmaven.javadoc.skip=true -B -Dapiman.gateway-test.config=amg-1
+ - name: Build and Publish Docker Images
+ if: github.ref == 'refs/heads/master'
+ run: |
+ mvn clean package docker:build -P docker -DskipTests
+ echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
+ docker push apiman/on-wildfly:latest

MODIFY
distro/wildfly/pom.xml
distro/wildfly/pom.xml
<properties>
<docker.wildfly.version>wildfly</docker.wildfly.version>
<docker.base-image>jboss/wildfly:20.0.1.Final</docker.base-image>
- <docker.target-image-name>apiman/on-wildfly:master</docker.target-image-name>
+ <docker.target-image-name>apiman/on-wildfly:latest</docker.target-image-name>
<docker.target-image-name.alias>wildfly-master</docker.target-image-name.alias>
</properties>

Push wildfly docker image on master build (#929)