Skip to content

Commit

Permalink
👷 ci: Fix publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
W3D3 committed Mar 24, 2023
1 parent de1560e commit 43990b1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish
name: Publish images
on:
push:
# branches:
Expand All @@ -12,16 +12,12 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v3

- name: Echo debug
run: |
echo "${{ GITHUB_REF_NAME }}"
- name: Get release version
# if: startsWith(github.ref, 'refs/heads/release')
uses: actions-ecosystem/action-regex-match@v2
id: release-version
with:
text: ${{ GITHUB_REF_NAME }}
text: ${{ github.ref_name }}
regex: '^add-(.*)$'

- name: Set image tag
Expand All @@ -48,6 +44,10 @@ jobs:
restore-keys: |
skaffold-
- name: Echo debug
run: |
echo "${{ env.IMAGE_TAG }}"
- name: Run Skaffold build pipeline
uses: hiberbee/github-action-skaffold@latest
id: build
Expand Down

0 comments on commit 43990b1

Please sign in to comment.