Skip to content

Merge pull request #490 from leepeuker/add-web-authentication-middleware #108

Merge pull request #490 from leepeuker/add-web-authentication-middleware

Merge pull request #490 from leepeuker/add-web-authentication-middleware #108

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