fix: restrict workflow trigger to master and configure checkout token
Build and Push Docker Image / build-and-push (push) Canceled after 2m27s
Build and Push Docker Image / build-and-push (push) Canceled after 2m27s
This commit is contained in:
@@ -3,7 +3,6 @@ name: Build and Push Docker Image
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
|
||||
jobs:
|
||||
@@ -12,6 +11,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.CI_TOKEN }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
Reference in New Issue
Block a user