Skip to content

Investigate 403

Investigate 403 #11

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "4-upload-or-extract-build-result" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Build OpenImageIO using a Rocky image
run: docker build . --file Dockerfile --tag build-oiio
- name: Inspect installation
run: |
docker run --rm build-oiio find /opt/sgsco
docker run --rm build-oiio /opt/sgsco/bin/oiiotool
- name: Extract OpenImageIO from the image
run: |
docker run -d --name build-oiio build-oiio sleep 4
docker cp build-oiio:/root/oiio.tar.gz .
tar tf ./oiio.tar.gz
# - name: Release the zip
# uses: TheDoctor0/zip-release@0.7.6
# with:
# type: 'zip'
# filename: 'oiio.tar.gz'
# path: /opt/sgsco
- name: Release the OpenImageIO zip
uses: ncipollo/release-action@v1.14.0
with:
artifacts: "./oiio.tar.gz"
tag: 2.3.7