factorio-docker/.github/workflows/docker_push.yml

21 lines
459 B
YAML
Raw Normal View History

2021-09-02 14:57:59 +02:00
name: Docker build & push
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: build and push
if: ${{ env.DOCKER_USERNAME != '' && env.DOCKER_PASSWORD != '' }}
2021-09-02 14:57:59 +02:00
env:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
run: |
./build.py --push-tags