Skip to content

Commit

Permalink
Use tag for releasing docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
lolepezy committed Jan 9, 2025
1 parent 1371f86 commit b7f8842
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Release

on:
release:
types: [ "published" ]
push:
tags: 'v*.*.*'

jobs:
sbt-build:
Expand All @@ -13,4 +14,4 @@ jobs:
with:
jar-artifact: ${{ needs.sbt-build.outputs.jar-artifact }}
push: true
tags: ghcr.io/ripe-ncc/rpki-publication-server:${{ github.event.release.tag_name }}, ghcr.io/ripe-ncc/rpki-publication-server:latest
tags: rpki-publication-serverghcr.io/ripe-ncc/:${{ github.event.release.tag_name }}, ghcr.io/ripe-ncc/rpki-publication-server:latest

0 comments on commit b7f8842

Please sign in to comment.