Skip to content

Commit

Permalink
feat: INFRA-824 Added gh action to publish image
Browse files Browse the repository at this point in the history
  • Loading branch information
ihannache committed Dec 4, 2024
1 parent 24bb288 commit b17e6a3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/publish_image_tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish Image Using Semver Tag

on:
push:
tags:
- v*

jobs:
push:
name: Publish Image using tags
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Push the image on the registry
uses: Ferlab-Ste-Justine/action-push-image@v2
with:
username: ${{ secrets.FERLAB_DOCKER_HUB_USER }}
password: ${{ secrets.FERLAB_DOCKER_HUB_TOKEN }}
image: ferlabcrsj/sentry-prometheus-exporter
tag_format: "{semver}"

0 comments on commit b17e6a3

Please sign in to comment.