Skip to content

Commit

Permalink
Create cicd-publish-api-image-pr.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
wruiwr authored Aug 27, 2024
1 parent f34882a commit e1219a0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/cicd-publish-api-image-pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Manually publish container image using the last commit SHA as image tag

on:
workflow_dispatch: # run manually
pull_request: # run on pull requests

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Check out the code
uses: actions/checkout@v4

- name: Print the pr last commit SHA
run: echo "The commit SHA is ${{ github.event.pull_request.head.sha }}"

0 comments on commit e1219a0

Please sign in to comment.