Merge pull request #507 from leepeuker/improve-watchlist-rest-api #114
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: Build and publish nightly docker image to docker hub | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
push_to_registry: | |
name: Push Nightly Docker image to Docker Hub | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Build and push Docker image | |
uses: docker/build-push-action@v4 | |
with: | |
context: . | |
file: build/php/Dockerfile | |
target: production | |
push: true | |
tags: leepeuker/movary:nightly | |
build-args: | | |
APPLICATION_VERSION=nightly |