diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 49e25a6dc..e4c717764 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -94,7 +94,7 @@ jobs: version: latest args: release --rm-dist env: - GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }} + GITHUB_TOKEN: ${{ secrets.FLYTE_BOT_PAT }} push-github: name: Push to Github Registry @@ -107,32 +107,14 @@ jobs: - name: Push Docker Image to Github Registry uses: whoan/docker-build-with-cache-action@v5 with: - username: "${{ secrets.PUBLISH_CONTAINER_ACTOR }}" - password: "${{ secrets.PUBLISH_CONTAINER }}" + username: "${{ secrets.FLYTE_BOT_USERNAME }}" + password: "${{ secrets.FLYTE_BOT_PAT }}" image_name: ${{ github.repository }} image_tag: latest,${{ github.sha }},${{ needs.bump-version.outputs.version }} push_git_tag: true registry: ghcr.io build_extra_args: "--compress=true" - push-dockerhub: - name: Push to Dockerhub - runs-on: ubuntu-latest - needs: bump-version - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: '0' - - name: Push Docker Image to Dockerhub - uses: whoan/docker-build-with-cache-action@v5 - with: - username: "${{ secrets.DOCKERHUB_USERNAME }}" - password: "${{ secrets.DOCKERHUB_PASSWORD }}" - image_name: ${{ secrets.DOCKERHUB_IMAGE_NAME }} - image_tag: latest,${{ github.sha }},${{ needs.bump-version.outputs.version }} - push_git_tag: true - build_extra_args: "--compress=true" - tests-lint: name: Run tests and lint runs-on: ubuntu-latest