Skip to content

Commit

Permalink
Add github token to publish image #minor (flyteorg#35)
Browse files Browse the repository at this point in the history
Signed-off-by: Ketan Umare <[email protected]>
  • Loading branch information
kumare3 authored Mar 5, 2021
1 parent 7c5eae5 commit 2e4703c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ jobs:
outputs:
version: ${{ steps.bump-version.outputs.tag }}
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- uses: actions/checkout@v2
with:
fetch-depth: '0'
Expand Down Expand Up @@ -86,8 +82,8 @@ 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
Expand Down

0 comments on commit 2e4703c

Please sign in to comment.