Merge pull request #72 from bangbang93/dependabot/npm_and_yarn/semver… #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build the Docker image | |
run: docker build . --file Dockerfile --tag bangbang93/minecraft-proxy | |
- name: Login to docker hub | |
run: docker login -u ${{secrets.HUB_USERNAME}} -p ${{secrets.HUB_PASSWORD}} | |
- name: Publish image | |
run: docker push bangbang93/minecraft-proxy |