-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (40 loc) · 1.2 KB
/
bin-package-no-tag.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Builds a single runtime package, this
# is similar to `bin-package.yaml` but never
# tags the built binary. It means any package
# built with this never becomes part of zos installation
name: Build Extra Binary (no tagging)
on:
workflow_call:
inputs:
package:
description: "package to build"
required: true
type: string
secrets:
token:
required: true
jobs:
builder:
name: builder
runs-on: ubuntu-20.04
steps:
- name: Checkout code into the Go module directory
uses: actions/checkout@v1
- name: Setup basesystem
run: |
cd bins
sudo -E ./bins-extra.sh --package basesystem
- name: Build package (${{ inputs.package }})
id: package
run: |
cd bins
sudo -E ./bins-extra.sh --package ${{ inputs.package }}
- name: Publish flist (tf-autobuilder, ${{ steps.package.outputs.name }})
if: success()
uses: threefoldtech/publish-flist@master
with:
token: ${{ secrets.token }}
action: publish
user: tf-autobuilder
root: bins/releases/${{ inputs.package }}
name: ${{ steps.package.outputs.name }}.flist