mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-16 07:12:29 +00:00
29 lines
630 B
YAML
29 lines
630 B
YAML
|
# This is a basic workflow to help you get started with Actions
|
||
|
|
||
|
name: build
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ master ]
|
||
|
pull_request:
|
||
|
branches: [ master ]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
|
||
|
- name: Build and push Docker images
|
||
|
uses: docker/build-push-action@v1.1.0
|
||
|
with:
|
||
|
repository: itzg/minecraft-server
|
||
|
username: ${{ secrets.DOCKER_USER }}
|
||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||
|
tag_with_ref: true
|
||
|
tag_with_sha: true
|
||
|
cache_froms: itzg/minecraft-server:latest
|
||
|
add_git_labels: true
|
||
|
push: false
|