Skip to content

Commit 1b5bb76

Browse files
authored
Merge pull request #5 from ProjectEKA/update-github-action
Dheeraj | Replace set-env with EnvFiles in github actions
2 parents 5d99e0b + 7f11f71 commit 1b5bb76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
with:
1616
java-version: 11
1717
- name: Set env
18-
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF:10}
18+
run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV
1919
- name: Build with Maven
2020
env:
2121
DOCKER_REGISTRY_URL: docker.io
2222
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
23-
run: mvn compile jib:build -Djib.to.auth.username=projecteka -Djib.to.auth.password=${DOCKER_PASSWORD} -Dimage=projecteka/gateway-db-initializer:${RELEASE_VERSION}
23+
run: mvn compile jib:build -Djib.to.auth.username=projecteka -Djib.to.auth.password=${DOCKER_PASSWORD} -Dimage=projecteka/gateway-db-initializer:${RELEASE_VERSION}

0 commit comments

Comments
 (0)