forked from zowe/api-layer
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 1.16 KB
/
image-snapshot-release.yml
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
name: Image snapshot release
on:
push:
branches: [ v2.x.x, v3.x.x ]
jobs:
build-services:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- uses: ./.github/actions/setup
- name: Build services
run: ./gradlew clean build -x test
- uses: ./.github/actions/teardown
publish-images:
needs:
- build-services
uses: zowe/api-layer/.github/workflows/[email protected]
with:
forceNoRelease: true
secrets:
registry-user: ${{ secrets.ARTIFACTORY_X_USERNAME }}
registry-password: ${{ secrets.ARTIFACTORY_X_PASSWORD }}
redhat-registry-user: ${{ secrets.REDHAT_DEVELOPER_USER }}
redhat-registry-password: ${{ secrets.REDHAT_DEVELOPER_PASSWORD }}
zlinux-host: ${{ secrets.ZLINUX_HOST }}
zlinux-ssh-user: ${{ secrets.ZLINUX_SSH_USER }}
zlinux-ssh-key: ${{ secrets.ZLINUX_SSH_KEY }}
zlinux-ssh-passphrase: ${{ secrets.ZLINUX_SSH_PASSPHRASE }}