Skip to content

actions: Switch the release action #6

actions: Switch the release action

actions: Switch the release action #6

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
steps:
- uses: actions/checkout@v4
- name: Build OpenImageIO using a Rocky image
run: docker build . --file Dockerfile --tag build-oiio:2.3.7
- name: Extract OpenImageIO from the image
run: |
docker run -d --name build-oiio build-oiio:2.3.7
docker cp build-oiio:/root/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