diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2a3cceda60..bd309ba1ab 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -29,19 +29,12 @@ jobs: args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} - - uses: docker/build-push-action@v1 - with: - username: ${{ secrets.DOCKERIO_USERNAME }} - password: ${{ secrets.DOCKERIO_PASSWORD }} - repository: nirmata/kyverno - tag_with_ref: true - tag_with_sha: true - - uses: docker/build-push-action@v1 - with: - username: ${{ secrets.DOCKERIO_USERNAME }} - password: ${{ secrets.DOCKERIO_PASSWORD }} - repository: nirmata/kyvernopre - tag_with_ref: true - tag_with_sha: true + - name: Log into Docker + run: echo "${{ secrets.DOCKERIO_PASSWORD }}" | docker login -u ${{ secrets.DOCKERIO_USERNAME }} --password-stdin + - name: Push image + run: | + docker push nirmata/kyverno + docker push nirmata/kyvernopre +