Skip to content

Build and Push Image samply/lens #98

Build and Push Image samply/lens

Build and Push Image samply/lens #98

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"
build-args: |
TARGET_ENVIRONMENT=production
# This passes the secrets from calling workflow to the called workflow
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}