diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 4926b8a6f263..c7fb47dbcf35 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -450,7 +450,7 @@ jobs: docker run otel/opentelemetry-collector-contrib-dev:$GITHUB_SHA --version docker run otel/opentelemetry-collector-contrib-dev:latest --version - name: Login to Docker Hub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} diff --git a/.github/workflows/tracegen.yml b/.github/workflows/tracegen.yml index 24354a7e3c83..1158bf3b995b 100644 --- a/.github/workflows/tracegen.yml +++ b/.github/workflows/tracegen.yml @@ -28,7 +28,7 @@ jobs: - name: Checkout Repo uses: actions/checkout@v3 - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -52,7 +52,7 @@ jobs: id: github_tag run: ./.github/workflows/scripts/set_release_tag.sh - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }}