diff --git a/rules/S6782/secrets/rule.adoc b/rules/S6782/secrets/rule.adoc index aae2c6c424e..ef9111bd009 100644 --- a/rules/S6782/secrets/rule.adoc +++ b/rules/S6782/secrets/rule.adoc @@ -31,11 +31,11 @@ include::../../../shared_content/secrets/fix/vault.adoc[] [source,yaml,diff-id=1,diff-type=noncompliant] ---- steps: - - name: Login to DockerHub + - name: Login to DockerHub uses: docker/login-action@v2 with: - username: mobythewhale - password: dckr_pat_cq7wQZcv9xZkVlxMhDTcTV00CDo + username: mobythewhale + password: dckr_pat_cq7wQZcv9xZkVlxMhDTcTV00CDo ---- ==== Compliant solution @@ -43,11 +43,11 @@ steps: [source,yaml,diff-id=1,diff-type=compliant] ---- steps: - - name: Login to DockerHub + - name: Login to DockerHub uses: docker/login-action@v2 with: - username: ${{ secrets.dockerUsername }} - password: ${{ secrets.dockerAccessToken }} + username: ${{ secrets.dockerUsername }} + password: ${{ secrets.dockerAccessToken }} ---- //=== How does this work?