Merge pull request #53 #510
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
on: | |
push: | |
paths-ignore: | |
- 'README.md' # Specify the path to your README file | |
- '.github/' # Ignore github flows and templates | |
jobs: | |
login: | |
runs-on: ubuntu-latest | |
steps: | |
- name: CheckCode | |
uses: actions/checkout@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Push and build to DockerHub | |
uses: docker/build-push-action@v3 | |
with: | |
context: . | |
push: true | |
tags: donkevlar/bookshelf-traveller:latest, donkevlar/bookshelf-traveller:${{ github.run_number }} | |