diff --git a/.github/workflows/build-on-branch.yml b/.github/workflows/build-on-branch.yml index cc47784..24c8222 100644 --- a/.github/workflows/build-on-branch.yml +++ b/.github/workflows/build-on-branch.yml @@ -13,7 +13,7 @@ jobs: - name: Build run: docker build . -t tandrade/short:latest - name: Login - uses: docker/login-action@v1.14.1 + uses: docker/login-action@v2.0.0 with: username: tandrade password: ${{ secrets.DOCKER_HUB_PASSWORD }} diff --git a/.github/workflows/build-on-tag.yml b/.github/workflows/build-on-tag.yml index a8b2afb..0b06b53 100644 --- a/.github/workflows/build-on-tag.yml +++ b/.github/workflows/build-on-tag.yml @@ -13,7 +13,7 @@ jobs: - name: Build run: docker build . -t tandrade/short:${GITHUB_REF/refs\/tags\//} - name: Login - uses: docker/login-action@v1.14.1 + uses: docker/login-action@v2.0.0 with: username: tandrade password: ${{ secrets.DOCKER_HUB_PASSWORD }}