Skip to content

Build and Push voltaserve/watermark #1

Build and Push voltaserve/watermark

Build and Push voltaserve/watermark #1

Workflow file for this run

name: Build and Push voltaserve/watermark
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "watermark/**"
pull_request:
branches:
- main
paths:
- "watermark/**"
jobs:
build_watermark:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login 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@v3
with:
context: ./watermark
push: true
tags: voltaserve/watermark:latest
platforms: linux/amd64,linux/arm64