Skip to content

Commit a59cbb7

Browse files
ci: push image
1 parent ef8c72d commit a59cbb7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build-and-push-image.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on: [push]
44
jobs:
55
build-and-push-image:
66
runs-on: ubuntu-latest
7+
env:
8+
IMAGE_NAME: "oc4ids-datastore-pipeline"
79
steps:
810
- uses: actions/checkout@v4
911
- name: Build image
@@ -14,3 +16,8 @@ jobs:
1416
registry: ghcr.io
1517
username: ${{ github.actor }}
1618
password: ${{ secrets.GITHUB_TOKEN }}
19+
- name: Print image ID
20+
run: |
21+
IMAGE_TAG=latest
22+
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME:$IMAGE_TAG
23+
echo $IMAGE_ID

0 commit comments

Comments
 (0)