Files
fex-bedrock-vanilla/.github/workflows/main.yml
T
2020-07-22 19:03:37 -05:00

40 lines
829 B
YAML

name: Build
on:
push:
branches:
- master
tags:
- "[0-9]+.[0-9]+.[0-9]+"
jobs:
# test:
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/checkout@v2
#
# - name: Run tests
# run: |
# tests/test.sh
build:
# needs: [test]
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-bedrock-server
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}
tag_with_ref: true
tag_with_sha: false
builds_args: BUILDKIT_INLINE_CACHE=1
always_pull: true
cache_froms: itzg/minecraft-bedrock-server:latest
add_git_labels: true
push: true