Skip to content

Commit

Permalink
Try to use quay action
Browse files Browse the repository at this point in the history
  • Loading branch information
hierynomus committed Apr 18, 2024
1 parent 1737758 commit 1f73771
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 64 deletions.
24 changes: 0 additions & 24 deletions .github/actions/gobase/action.yml

This file was deleted.

11 changes: 6 additions & 5 deletions .github/actions/quay/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ inputs:
runs:
using: 'composite'
steps:
- name: Log in
shell: bash
run: |
echo "${{ env.QUAY_PASSWORD }}" | docker login --username=${{ env.QUAY_USER }} --password-stdin quay.io
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USER }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Run command
shell: bash
run: |
Expand Down
29 changes: 0 additions & 29 deletions .github/actions/release-notes/action.yml

This file was deleted.

27 changes: 21 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,28 @@ jobs:
username: ${{ secrets.QUAY_USER }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Generate release notes
uses: ./.github/actions/release-notes
uses: ./.github/actions/quay
with:
jira_project: STAC
jira_url: https://stackstate.atlassian.net
jira_user: ${{ secrets.JIRA_USER }}
jira_token: ${{ secrets.JIRA_TOKEN }}
run: release-notes --fix-version cli2-${{ env.TAG }} --output-file /workspace/release-notes.md --title "CLI ${{ env.TAG }}"
image: quay.io/stackstate/go-rk:v0.2.4
options: >
-e RK_JIRA_PROJECT=STAC
-e RK_JIRA_URL=https://stackstate.atlassian.net
-e RK_JIRA_USER=${{ secrets.JIRA_USER }}
-e RK_JIRA_TOKEN=${{ secrets.JIRA_TOKEN }}
entrypoint: go-rk
run: >
release-notes
--fix-version cli2-${{ env.TAG }}
--output-file /workspace/release-notes.md
--title "CLI ${{ env.TAG }}"
# - name: Generate release notes
# uses: ./.github/actions/release-notes
# with:
# jira_project: STAC
# jira_url: https://stackstate.atlassian.net
# jira_user: ${{ secrets.JIRA_USER }}
# jira_token: ${{ secrets.JIRA_TOKEN }}
# run: release-notes --fix-version cli2-${{ env.TAG }} --output-file /workspace/release-notes.md --title "CLI ${{ env.TAG }}"
- name: Save release notes
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 1f73771

Please sign in to comment.