Skip to content

Commit b386ee1

Browse files
author
Mikhail Savelyev
committed
Quote credentials when logging into docker repo
They might contain special characters which make commands invalid without quoting
1 parent 56404f4 commit b386ee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/build-docker-image/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ runs:
2626

2727
- name: Login to docker repository
2828
shell: bash
29-
run: echo ${{ env.ORACLE_DOCKER_PASSWORD }} | docker login sjc.ocir.io -u ${{ env.ORACLE_DOCKER_USERNAME }} --password-stdin
29+
run: echo '${{ env.ORACLE_DOCKER_PASSWORD }}' | docker login sjc.ocir.io -u '${{ env.ORACLE_DOCKER_USERNAME }}' --password-stdin
3030

3131
- name: Build and push docker image
3232
shell: bash

0 commit comments

Comments
 (0)