Skip to content

updating dockerfile to be multi-stage build #25

updating dockerfile to be multi-stage build

updating dockerfile to be multi-stage build #25

Workflow file for this run

name: Create/Release Docker Image
on:
push:
branches: [ "main", "dev" ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "main" ]
env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: wisdom-oss/service-usage-forecasts
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write
steps:
- uses: wisdom-oss/actions/docker-build@main
with:
registry-password: ${{ secrets.GITHUB_TOKEN }}