diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30b27fd..a56b52e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,8 +46,9 @@ jobs: export REGISTRY_PASSWORD="${GITHUB_TOKEN}" export POM_VERSION="$(mvn help:evaluate -D expression=project.version -q -D forceStdout)" - git config --global user.name "${GIT_USERNAME}" ./mvnw -D image.registry=ghcr.io/jaguililla/hexagonal_spring -D spring-boot.build-image.publish=true -B deploy + + git config user.name "${GITHUB_ACTOR}" git tag -m "Release ${POM_VERSION}" "${POM_VERSION}" git push --tags - name: Publish Client diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9f0182b..363ddca 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -73,4 +73,3 @@ release: release: tag_name: ${POM_VERSION} description: Release ${POM_VERSION} - ref: ${POM_VERSION}