Skip to content

Commit

Permalink
ci: deployment.yamlのタグを自動更新するように
Browse files Browse the repository at this point in the history
  • Loading branch information
yupix committed Mar 10, 2024
1 parent c6f7fcf commit caf2677
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,13 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Set short git commit SHA
id: vars
run: |
calculatedSha=$(git rev-parse --short ${{ github.sha }})
echo "COMMIT_SHORT_SHA=$calculatedSha" >> $GITHUB_ENV
- uses: Charlyzzz/[email protected]
with:
manifest-path: k8s/deployment.yaml
new-image-tag: sha-{{ env.COMMIT_SHORT_SHA }}
name: akarinext-web

0 comments on commit caf2677

Please sign in to comment.