fork over the work from @matthewpi
Will work on re-organizing and setting up a slightly different build matrix
This commit is contained in:
81
.github/workflows/docker-publish.yml
vendored
81
.github/workflows/docker-publish.yml
vendored
@@ -1,81 +0,0 @@
|
||||
name: Docker
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: Push
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
matrix:
|
||||
image:
|
||||
- "alpine"
|
||||
- "alpine-install"
|
||||
- "fivem"
|
||||
- "go1.14"
|
||||
- "go1.15"
|
||||
- "go1.16"
|
||||
- "java7"
|
||||
- "java8"
|
||||
- "java9"
|
||||
- "java10"
|
||||
- "java11"
|
||||
- "java12"
|
||||
- "java13"
|
||||
- "java14"
|
||||
- "java15"
|
||||
- "java16"
|
||||
- "node12"
|
||||
- "node14"
|
||||
- "node15"
|
||||
- "node16"
|
||||
- "python3.7"
|
||||
- "python3.8"
|
||||
- "python3.9"
|
||||
- "satisfactory"
|
||||
- "source"
|
||||
- "source-install"
|
||||
|
||||
steps:
|
||||
- name: Code Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
# - name: Set up QEMU
|
||||
# uses: docker/setup-qemu-action@v1
|
||||
|
||||
- name: Install buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
with:
|
||||
version: v0.5.1
|
||||
buildkitd-flags: --debug
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.CR_PAT }}
|
||||
|
||||
- name: Login to Quay
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: quay.io
|
||||
username: matthewp
|
||||
password: ${{ secrets.QUAY_SECRET }}
|
||||
|
||||
- name: Build and Push
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: ./${{ matrix.image }}
|
||||
file: ./${{ matrix.image }}/Dockerfile
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/matthewpi/images:${{ matrix.image }}
|
||||
quay.io/matthewp/pterodactyl:${{ matrix.image }}
|
Reference in New Issue
Block a user