mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-16 07:12:29 +00:00
25 lines
624 B
YAML
25 lines
624 B
YAML
name: Build and publish multiarch
|
|
on:
|
|
push:
|
|
branches:
|
|
- multiarch
|
|
tags:
|
|
- "[0-9]+.[0-9]+.[0-9]+-multiarch"
|
|
|
|
jobs:
|
|
docker-buildx:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2.2.0
|
|
- name: Get branch name
|
|
uses: nelonoel/branch-name@v1
|
|
- name: Docker Buildx
|
|
uses: ilteoood/docker_buildx@1.0.4
|
|
with:
|
|
publish: true
|
|
imageName: itzg/minecraft-server
|
|
tag: ${{ env.BRANCH_NAME }}
|
|
dockerHubUser: ${{ secrets.DOCKER_USER }}
|
|
dockerHubPassword: ${{ secrets.DOCKER_PASSWORD }}
|
|
|