Docker Image CI #74
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@v4 | |
- name: Login to DockerHub Registry | |
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin | |
- name: Build the Docker image | |
run: docker build . --file Dockerfile --tag lammermann/lisi:$(date +%Y-%m-%d) --tag lammermann/lisi:bleeding | |
- name: Push the latest Docker image | |
run: docker push --all-tags lammermann/lisi |