-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 1 KB
/
cd.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
name: "CD"
on:
push:
workflow_dispatch:
# Allow subsequently queued workflows to cancel previous runs
concurrency:
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} - CI"
cancel-in-progress: true
env:
FORCE_COLOR: "1"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
build-1trc-notebook-container:
name: Build notebook containers
environment: dev
runs-on: ubuntu-latest
permissions:
packages: write
contents: write
if: github.event.pull_request.draft == false
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v4
- name: 1trc-notebook
uses: ./.github/actions/package-container
with:
FOLDER_PATH: .
IMAGE_NAME: 1trc-notebook
USERNAME: ${{ github.actor }}
ORGANIZATION_NAME: ${{ vars.CONTAINER_REPOSITORY_OWNER }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}