Skip to content

Develop

Develop #41

Workflow file for this run

name: Build and Push Image samply/lens-web-components
on:
push:
branches:
- main
# Build then a new version is tagged
tags:
- '*.*.*'
pull_request:
branches:
- main
schedule:
# Build every night at 1am
- cron: '0 1 * * *'
jobs:
build:
# This workflow defines how a samply docker image is built, tested and published.
# Visit: https://github.com/samply/github-workflows/blob/main/.github/workflows/docker-ci.yml, for more information
uses: samply/github-workflows/.github/workflows/docker-ci.yml@main
with:
image-name: "samply/lens-web-components"
# This passes the secrets from calling workflow to the called workflow
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}