Support multiple platforms

This commit is contained in:
Nanne Baars 2021-07-29 11:26:17 +03:00
parent 60bd04b9aa
commit a050fa9669
No known key found for this signature in database
GPG Key ID: A6D6C06FE4EC14E7
2 changed files with 4 additions and 2 deletions

View File

@ -75,6 +75,8 @@ jobs:
- name: "Set up QEMU"
uses: docker/setup-qemu-action@v1.1.0
with:
platforms: all
- name: "Set up Docker Buildx"
uses: docker/setup-buildx-action@v1
@ -91,7 +93,7 @@ jobs:
context: ./docker
file: docker/Dockerfile
push: true
platforms: linux/amd64
platforms: linux/amd64, linux/arm64
tags: |
webgoat/goatandwolf:${{ env.WEBGOAT_TAG_VERSION }}
webgoat/goatandwolf:latest

View File

@ -1,4 +1,4 @@
FROM openjdk:15.0.2-slim
FROM openjdk:16-slim
ARG webgoat_version=8.2.1-SNAPSHOT
ENV webgoat_version_env=${webgoat_version}