File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 8787 sauron-service/target/*-sources.jar?(.)*
8888 sauron-service/target/*-javadoc.jar?(.)*
8989
90+ - name : Extract version
91+ id : extractversion
92+ run : echo "::set-output name=version::$(cut -c16- <<< "${{ steps.previoustag.outputs.tag }}")"
93+
9094 - name : Publish to Registry
9195 if : steps.changes.outputs.src == 'true' && steps.changes.outputs.sauron-service == 'true'
92- pre : echo ::save-state name=RELEASE_VERSION::$(echo ${${{ steps.previoustag.outputs.tag }}:15})
9396 uses : elgohr/Publish-Docker-Github-Action@3.02
9497 with :
9598 name : freenowtech/sauron/sauron-service
98101 default_branch : main
99102 workdir : sauron-service/
100103 registry : ghcr.io
101- tags : " latest,${{ env.STATE_RELEASE_VERSION }}"
104+ tags : " latest,${{ steps.extractversion.outputs.version }}"
Original file line number Diff line number Diff line change 267267 </plugin >
268268 </plugins >
269269 </build >
270- </project >
270+ </project >
You can’t perform that action at this time.
0 commit comments