mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-25 19:19:52 +08:00
ci: fix permisions (#1512)
* ci: fix permisions * chore: change to trigger build * ci: add write permission to packages * ci: remove conditionals for docker logins * Update controllers/utils_test.go Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
This commit is contained in:
@@ -37,7 +37,6 @@ runs:
|
||||
version: latest
|
||||
|
||||
- name: Login to DockerHub
|
||||
if: ${{ github.ref == 'master' && github.event.pull_request.merged == true }}
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ inputs.username }}
|
||||
@@ -45,7 +44,6 @@ runs:
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v2
|
||||
if: ${{ github.ref == 'master' && github.event.pull_request.merged == true }}
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ inputs.ghcr_username }}
|
||||
|
||||
Reference in New Issue
Block a user