Skip to content

Commit c17871a

Browse files
committed
update dependabot config for docker image
Signed-off-by: Pranay Valson <[email protected]>
1 parent 1104d6c commit c17871a

File tree

2 files changed

+24
-19
lines changed

2 files changed

+24
-19
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ updates:
1212
target-branch: "develop"
1313
reviewers:
1414
- "noslav"
15-
- "rogarica"
15+
- "rogarcia"
1616
- package-ecosystem: "docker"
1717
directory: "/"
1818
schedule:
1919
interval: "weekly"
20+
target-branch: "develop"
2021
reviewers:
2122
- "noslav"
2223
- "rogarcia"

.github/workflows/docker-image.yml

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,34 @@ name: docker-image-ci
33
on:
44
push:
55
branches:
6-
- "main"
6+
- "main"
77
pull_request:
8-
branches:
9-
- "main"
10-
- "develop"
8+
branches:
9+
- "main"
10+
- "develop"
1111

1212
jobs:
1313
push-image:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- name: Login to GitHub Container Registry
17-
if: ${{ !env.ACT }}
18-
uses: docker/login-action@v1
19-
with:
20-
registry: ghcr.io
21-
username: ${{ secrets.CR_USER }}
22-
password: ${{ secrets.CR_PAT }}
16+
- name: Cancel Previous Runs
17+
uses: styfle/[email protected]
18+
with:
19+
access_token: ${{ secrets.GITHUB_TOKEN }}
20+
- name: Login to GitHub Container Registry
21+
if: ${{ !env.ACT }}
22+
uses: docker/login-action@v1
23+
with:
24+
registry: ghcr.io
25+
username: ${{ secrets.CR_USER }}
26+
password: ${{ secrets.CR_PAT }}
2327

24-
- uses: actions/checkout@v2
25-
- name: Build & Publish the Docker image
26-
if: ${{ !env.ACT }}
27-
run: |
28-
docker build . --file Dockerfile --tag ghcr.io/covalenthq/bsp-geth:latest
29-
docker push ghcr.io/covalenthq/bsp-geth:latest
28+
- uses: actions/checkout@v2
29+
- name: Build & Publish the Docker image
30+
if: ${{ !env.ACT }}
31+
run: |
32+
docker build . --file Dockerfile --tag ghcr.io/covalenthq/bsp-geth:latest
33+
docker push ghcr.io/covalenthq/bsp-geth:latest
3034
3135
# - name: Start containers
3236
# run: docker-compose -f "docker-compose.yml" up --build --remove-orphans --force-recreate --exit-code-from agent
@@ -39,4 +43,4 @@ jobs:
3943

4044
# - name: Stop containers
4145
# if: always()
42-
# run: docker-compose -f "docker-compose.yml" down
46+
# run: docker-compose -f "docker-compose.yml" down

0 commit comments

Comments
 (0)