Skip to content

Commit

Permalink
ci(DEVOPS-1803): Use a nestobot token to bypass branch restrictions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstojda committed Aug 11, 2023
1 parent ff003b6 commit 20128de
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ jobs:
run: |
curl -L https://github.com/mikefarah/yq/releases/download/${{ env.YQ_VERSION }}/yq_linux_amd64.tar.gz | tar xvz
sudo mv yq_linux_amd64 /usr/local/bin/yq
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}
fetch-depth: 0

- name: Set up Docker Buildx
Expand All @@ -83,7 +85,7 @@ jobs:

- name: Generate changelog and tag release
id: changelog
uses: TriPSs/conventional-changelog-action@v3
uses: TriPSs/conventional-changelog-action@v4
with:
input-file: CHANGELOG.md
output-file: CHANGELOG.md
Expand All @@ -109,7 +111,7 @@ jobs:
- name: Extract metadata (tags, labels) for Docker
id: meta
if: ${{ steps.changelog.outputs.skipped == 'false' }}
uses: docker/metadata-action@v4.1.1
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository }}
tags: |
Expand All @@ -118,7 +120,7 @@ jobs:
- name: Build and push Docker image
if: ${{ steps.changelog.outputs.skipped == 'false' }}
uses: docker/build-push-action@v3.2.0
uses: docker/build-push-action@v3
with:
context: .
push: true
Expand Down Expand Up @@ -147,7 +149,7 @@ jobs:
helm package ${{ github.workspace }}/chart
helm repo index --url https://github.com/${{ github.repository }}/releases/download/${{ steps.changelog.outputs.tag }} --merge index.yaml .
echo "artifact-path='${{ runner.temp }}/helm-release/${CHART_NAME}-${{ steps.changelog.outputs.tag }}.tgz'" >> $GITHUB_OUTPUT
echo "artifact-path='${{ runner.temp }}/helm-release/${CHART_NAME}-${{ steps.changelog.outputs.version }}.tgz'" >> $GITHUB_OUTPUT
- name: Upload pages artifact
if: ${{ steps.changelog.outputs.skipped == 'false' }}
Expand Down

0 comments on commit 20128de

Please sign in to comment.