Skip to content

v12.0.0-rc6

v12.0.0-rc6 #14

Workflow file for this run

name: "Release"
on:
release:
types:
- created
jobs:
artifacts:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build Docker image
run: docker build --compress --file Dockerfile --force-rm --tag sentinel-official/sentinelhub .
- name: Copy binary file
run: |
docker create --name container sentinel-official/sentinelhub && \
docker cp container:/usr/local/bin/sentinelhub ./sentinelhub && \
docker rm container
- name: Save SHA256 checksum
run: sha256sum sentinelhub > ./checksums.txt
- name: Upload release artifacts
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: |
checksums.txt
sentinelhub