Skip to content

Merge pull request #507 from leepeuker/improve-watchlist-rest-api #114

Merge pull request #507 from leepeuker/improve-watchlist-rest-api

Merge pull request #507 from leepeuker/improve-watchlist-rest-api #114

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