mirror of
https://github.com/apple/container.git
synced 2026-09-11 10:15:38 +00:00
A release is made by default with sources in a tar and zip (example [here](https://github.com/apple/containerization/releases/tag/untagged-a4e930d3152ef58348f1)) so we can remove this extra tar Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
name: Release containerization
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "[0-9]+.[0-9]+.[0-9]+"
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
pages: write
|
|
|
|
jobs:
|
|
containerization:
|
|
uses: ./.github/workflows/containerization-build-template.yml
|
|
with:
|
|
release: true
|
|
version: ${{ github.ref_name }}
|
|
secrets: inherit
|
|
deployDocs:
|
|
runs-on: ubuntu-latest
|
|
needs: containerization
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
steps:
|
|
- name: Deploy to GitHub Pages
|
|
id: deployment
|
|
uses: actions/deploy-pages@v4
|
|
release:
|
|
name: Publish release
|
|
timeout-minutes: 30
|
|
needs: containerization
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
packages: read
|
|
steps:
|
|
- name: Create release
|
|
uses: softprops/action-gh-release@v2
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
name: ${{ github.ref_name }}-prerelease
|
|
draft: true
|
|
make_latest: false
|
|
prerelease: true
|
|
fail_on_unmatched_files: true
|