We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c8d87ee + 1d7273c commit 3d1715aCopy full SHA for 3d1715a
.github/workflows/main.yml
@@ -25,8 +25,25 @@ jobs:
25
- name: Run tests
26
run: cargo test
27
28
- build:
+ build-and-push:
29
runs-on: ubuntu-latest
30
steps:
31
- uses: actions/checkout@v3
32
+ with:
33
+ fetch-depth: 0
34
+
35
- run: make
36
37
+ - name: Get tag
38
+ run: |
39
+ TAG="$(make tag)"
40
+ echo "TAG=$TAG" >> $GITHUB_ENV
41
42
+ - name: Retag and push stackrox-io
43
+ uses: stackrox/actions/images/retag-and-push@v1
44
45
+ src-image: berserker
46
+ dst-image: quay.io/rhacs-eng/qa:berserker-${{ env.TAG }}
47
+ username: ${{ secrets.QUAY_RHACS_ENG_RW_USERNAME }}
48
+ password: ${{ secrets.QUAY_RHACS_ENG_RW_PASSWORD }}
49
0 commit comments