Skip to content

Move the universe

Move the universe #13

name: Build image and Push it to GPR
on:
push:
branches:
- 'production'
jobs:
docker:
runs-on: ubuntu-20.04
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
file: Dockerfile.spigot
push: true
tags: ghcr.io/${{ github.repository_owner }}/hiwell:spigot-1.21.1