Skip to content

Merge pull request #100 from bbean23/99-hotspot-peak-value-computatio… #9

Merge pull request #100 from bbean23/99-hotspot-peak-value-computatio…

Merge pull request #100 from bbean23/99-hotspot-peak-value-computatio… #9

Workflow file for this run

name: github-DOCKER
on:
push:
branches:
- main
permissions:
contents: none
env:
UBI8_IMAGE: "ghcr.io/sandialabs/opencsp:latest-ubi8"
jobs:
ubi8-image:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Build image
run: echo UBI8_IMAGE=$UBI8_IMAGE && docker build . --file Dockerfile --tag $UBI8_IMAGE --label "runnumber=${GITHUB_RUN_ID}"
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- name: Push image
run: |
echo UBI8_IMAGE=$UBI8_IMAGE
docker push $UBI8_IMAGE