Attempt to fix build failures
This commit is contained in:
parent
f77900c682
commit
3d3201898f
12 changed files with 15 additions and 18 deletions
11
.github/workflows/docker-publish.yml
vendored
11
.github/workflows/docker-publish.yml
vendored
|
@ -29,17 +29,15 @@ jobs:
|
|||
- "java13"
|
||||
- "java14"
|
||||
- "java15"
|
||||
- "source"
|
||||
- "source-install"
|
||||
#- "source"
|
||||
#- "source-install"
|
||||
|
||||
steps:
|
||||
- name: Code Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install buildx
|
||||
uses: crazy-max/ghaction-docker-buildx@v1
|
||||
with:
|
||||
version: latest
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Registry Authentication
|
||||
run: |
|
||||
|
@ -49,11 +47,10 @@ jobs:
|
|||
env:
|
||||
IMAGE_ID: docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }}:latest
|
||||
run: |
|
||||
docker buildx build --tag $IMAGE_ID --platform linux/amd64,linux/arm64 ./${{ matrix.image }}
|
||||
docker buildx build --tag $IMAGE_ID --platform linux/amd64 ./${{ matrix.image }}
|
||||
|
||||
- name: Push Image
|
||||
env:
|
||||
IMAGE_ID: docker.pkg.github.com/${{ github.repository }}/${{ matrix.image }}:latest
|
||||
run: |
|
||||
docker tag $IMAGE_ID $IMAGE_ID
|
||||
docker push $IMAGE_ID
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# https://github.com/matthewpi/images/blob/master/LICENSE.md
|
||||
#
|
||||
|
||||
FROM alpine:latest
|
||||
FROM --platform=$BUILDPLATFORM alpine:latest
|
||||
|
||||
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# https://github.com/matthewpi/images/blob/master/LICENSE.md
|
||||
#
|
||||
|
||||
FROM alpine:latest
|
||||
FROM --platform=$BUILDPLATFORM alpine:latest
|
||||
|
||||
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# https://github.com/matthewpi/images/blob/master/LICENSE.md
|
||||
#
|
||||
|
||||
FROM adoptopenjdk/openjdk10-openj9:alpine
|
||||
FROM --platform=$BUILDPLATFORM adoptopenjdk/openjdk10-openj9:alpine
|
||||
|
||||
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# https://github.com/matthewpi/images/blob/master/LICENSE.md
|
||||
#
|
||||
|
||||
FROM adoptopenjdk/openjdk11-openj9:alpine
|
||||
FROM --platform=$BUILDPLATFORM adoptopenjdk/openjdk11-openj9:alpine
|
||||
|
||||
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# https://github.com/matthewpi/images/blob/master/LICENSE.md
|
||||
#
|
||||
|
||||
FROM adoptopenjdk/openjdk12-openj9:alpine
|
||||
FROM --platform=$BUILDPLATFORM adoptopenjdk/openjdk12-openj9:alpine
|
||||
|
||||
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# https://github.com/matthewpi/images/blob/master/LICENSE.md
|
||||
#
|
||||
|
||||
FROM adoptopenjdk/openjdk13-openj9:alpine
|
||||
FROM --platform=$BUILDPLATFORM adoptopenjdk/openjdk13-openj9:alpine
|
||||
|
||||
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# https://github.com/matthewpi/images/blob/master/LICENSE.md
|
||||
#
|
||||
|
||||
FROM adoptopenjdk/openjdk14-openj9:alpine
|
||||
FROM --platform=$BUILDPLATFORM adoptopenjdk/openjdk14-openj9:alpine
|
||||
|
||||
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# https://github.com/matthewpi/images/blob/master/LICENSE.md
|
||||
#
|
||||
|
||||
FROM adoptopenjdk/openjdk15-openj9:alpine
|
||||
FROM --platform=$BUILDPLATFORM adoptopenjdk/openjdk15-openj9:alpine
|
||||
|
||||
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# https://github.com/matthewpi/images/blob/master/LICENSE.md
|
||||
#
|
||||
|
||||
FROM openjdk:7-jre-alpine
|
||||
FROM --platform=$BUILDPLATFORM openjdk:7-jre-alpine
|
||||
|
||||
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# https://github.com/matthewpi/images/blob/master/LICENSE.md
|
||||
#
|
||||
|
||||
FROM ibmjava:8-jre-alpine
|
||||
FROM --platform=$BUILDPLATFORM ibmjava:8-jre-alpine
|
||||
|
||||
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# https://github.com/matthewpi/images/blob/master/LICENSE.md
|
||||
#
|
||||
|
||||
FROM adoptopenjdk/openjdk9-openj9:alpine
|
||||
FROM --platform=$BUILDPLATFORM adoptopenjdk/openjdk9-openj9:alpine
|
||||
|
||||
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||
|
||||
|
|
Loading…
Reference in a new issue