Skip to content

remove old patches / update alpine / minetest 5.9.1 #248

remove old patches / update alpine / minetest 5.9.1

remove old patches / update alpine / minetest 5.9.1 #248

Workflow file for this run

name: docker
on:
push:
paths:
- "patches/**"
- "Dockerfile"
- "entrypoint.sh"
- "patch-engine.sh"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/} | sed 's/.*\///')"
id: extract_branch
- name: build image
run: docker build -t buckaroobanzay/minetest:${{ steps.extract_branch.outputs.branch }} .
- name: Dockerhub login
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
- name: Push image
run: docker push buckaroobanzay/minetest:${{ steps.extract_branch.outputs.branch }}