From 1665333c4b1c230d553ca1efcba8618f2b8e4a26 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 1 Feb 2024 17:19:45 +0900 Subject: [PATCH] Revert "Use docker/login-action" This reverts commit 7ac896a61fddd62ae0a0783b9378c20c8c4702ca. --- .github/actions/push_image/action.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/actions/push_image/action.yml b/.github/actions/push_image/action.yml index f0a6b365..f54f3609 100644 --- a/.github/actions/push_image/action.yml +++ b/.github/actions/push_image/action.yml @@ -21,17 +21,13 @@ inputs: runs: using: composite steps: - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKER_USER }} - password: ${{ secrets.DOCKER_PASS }} - name: Push docker image to rubylang run: |- + echo $DOCKER_PASS | docker login -u $DOCKER_USER --password-stdin rake docker:push ruby_version=${{ inputs.ruby_version }} \ ubuntu_version=${{ inputs.ubuntu_version }} \ image_version_suffix=${{ inputs.image_version_suffix }} \ ${{ inputs.nightly }}nightly=yes${{ inputs.nightly }} \ tag_suffix=${{ inputs.tag_suffix }} \ latest_tag=${{ inputs.latest_tag }} - shell: bash + shell: bash \ No newline at end of file