Skip to content

Commit

Permalink
.github/workflows: Remove ubi8-image github-UBI8
Browse files Browse the repository at this point in the history
  • Loading branch information
e10harvey committed Mar 18, 2024
1 parent 42781b1 commit d18cc66
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: github-DOCKER
on:
push:
branches:
- main

- main

permissions:
contents: none
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/ubi8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,8 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
UBI8_IMAGE: "ghcr.io/sandialabs/opencsp:latest-ubi8"

jobs:
ubi8-image:
runs-on: ubuntu-latest
permissions: write-all
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
ubi8-ci:
needs: ubi8-image
name: ubi8-ci
runs-on: [ubuntu-latest]
permissions:
Expand Down

0 comments on commit d18cc66

Please sign in to comment.