mirror of
https://github.com/valitydev/build-actions.git
synced 2024-11-06 02:05:17 +00:00
fix deploy repository name (#7)
This commit is contained in:
parent
bfe1faad04
commit
e4d2e74322
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "rbk-build-actions",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "JavaScript Action Template",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -26,4 +26,4 @@ runs:
|
||||
run: docker login -u ${{inputs.registry-username}} -p ${{inputs.registry-password}}
|
||||
|
||||
- shell: bash
|
||||
run: docker push --all-tags "${GITHUB_REPOSITORY_OWNER,,}/${REPOSITORY_NAME}"
|
||||
run: docker push --all-tags "${GITHUB_REPOSITORY_OWNER,,}/${GITHUB_REPOSITORY#*/}"
|
||||
|
@ -33,9 +33,9 @@ runs:
|
||||
|
||||
- shell: bash
|
||||
run: |
|
||||
echo "RBK_REPOSITORY_OWNER=${GITHUB_REPOSITORY_OWNER,,}" >> $GITHUB_ENV
|
||||
echo "RBK_REPOSITORY_NAME=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
|
||||
echo "RBK_DOCKER_REGISTRY=registry.hub.docker.com" >> $GITHUB_ENV
|
||||
echo "REPOSITORY_OWNER=${GITHUB_REPOSITORY_OWNER,,}" >> $GITHUB_ENV
|
||||
echo "REPOSITORY_NAME=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
|
||||
echo "DOCKER_HUB_REGISTRY=registry.hub.docker.com" >> $GITHUB_ENV
|
||||
|
||||
- shell: bash
|
||||
run: mvn -B clean compile package -Ddockerfile.registry=https://${RBK_DOCKER_REGISTRY} ${{ inputs.mvn-args }}
|
||||
run: mvn -B clean compile package -Ddockerfile.registry=https://${DOCKER_HUB_REGISTRY} ${{ inputs.mvn-args }}
|
||||
|
Loading…
Reference in New Issue
Block a user