Expanding supported platforms

This commit is contained in:
2021-02-22 04:53:29 +11:00
parent 9dfe5207d9
commit 68b96dfb82
+10 -1
View File
@@ -4,7 +4,7 @@ on:
types: [ published ] types: [ published ]
jobs: jobs:
push_to_registry: push_to_registry:
name: Push Docker image to Docker Hub name: Push Docker Image to Docker Hub
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out the repo - name: Check out the repo
@@ -16,3 +16,12 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
repository: krgamestudios/news-server repository: krgamestudios/news-server
tag_with_ref: true tag_with_ref: true
platforms: amd64,arm
- name: Push to Docker Hub (Latest)
uses: docker/build-push-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: krgamestudios/news-server:latest
push: true
platforms: amd64,arm