Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit fc6d9fe

Browse files
committed
Change build to dockerhub
1 parent 8adea5f commit fc6d9fe

File tree

1 file changed

+30
-40
lines changed

1 file changed

+30
-40
lines changed

.github/workflows/ci.yaml

Lines changed: 30 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@ jobs:
1717
- name: "Build'n Push Operator"
1818
uses: docker/build-push-action@v1
1919
with:
20-
username: ${{ github.actor }}
21-
password: ${{ github.token }}
22-
repository: securecodebox/securecodebox-v2-alpha/operator
20+
username: ${{ secrets.DOCKER_USERNAME }}
21+
password: ${{ secrets.DOCKER_PASSWORD }}
22+
repository: scbexperimental/securecodebox-v2-alpha/operator
2323
tag_with_ref: true
24-
registry: docker.pkg.github.com
2524
path: ./operator/
2625
lurcher:
2726
name: "Lurcher"
@@ -39,11 +38,10 @@ jobs:
3938
- uses: docker/build-push-action@v1
4039
name: "Build & Push Lurcher Image"
4140
with:
42-
username: ${{ github.actor }}
43-
password: ${{ github.token }}
44-
repository: securecodebox/securecodebox-v2-alpha/lurcher
41+
username: ${{ secrets.DOCKER_USERNAME }}
42+
password: ${{ secrets.DOCKER_PASSWORD }}
43+
repository: scbexperimental/securecodebox-v2-alpha/lurcher
4544
tag_with_ref: true
46-
registry: docker.pkg.github.com
4745
path: ./lurcher/
4846
integrations:
4947
name: "Node Unit Tests"
@@ -93,47 +91,42 @@ jobs:
9391
- uses: docker/build-push-action@v1
9492
name: "Build & Push Parser SDK"
9593
with:
96-
username: ${{ github.actor }}
97-
password: ${{ github.token }}
98-
repository: securecodebox/securecodebox-v2-alpha/parser-sdk-nodejs
99-
registry: docker.pkg.github.com
94+
username: ${{ secrets.DOCKER_USERNAME }}
95+
password: ${{ secrets.DOCKER_PASSWORD }}
96+
repository: scbexperimental/securecodebox-v2-alpha/parser-sdk-nodejs
10097
path: ./parser-sdk/nodejs/
10198
tag_with_ref: true
10299
# Actual Parsers
103100
- uses: docker/build-push-action@v1
104101
name: "Build & Push Amass Parser Image"
105102
with:
106-
username: ${{ github.actor }}
107-
password: ${{ github.token }}
108-
repository: securecodebox/securecodebox-v2-alpha/parser-amass
109-
registry: docker.pkg.github.com
103+
username: ${{ secrets.DOCKER_USERNAME }}
104+
password: ${{ secrets.DOCKER_PASSWORD }}
105+
repository: scbexperimental/securecodebox-v2-alpha/parser-amass
110106
path: ./integrations/amass/parser/
111107
tag_with_ref: true
112108
- uses: docker/build-push-action@v1
113109
name: "Build & Push Nmap Parser Image"
114110
with:
115-
username: ${{ github.actor }}
116-
password: ${{ github.token }}
117-
repository: securecodebox/securecodebox-v2-alpha/parser-nmap
118-
registry: docker.pkg.github.com
111+
username: ${{ secrets.DOCKER_USERNAME }}
112+
password: ${{ secrets.DOCKER_PASSWORD }}
113+
repository: scbexperimental/securecodebox-v2-alpha/parser-nmap
119114
path: ./integrations/nmap/parser/
120115
tag_with_ref: true
121116
- uses: docker/build-push-action@v1
122117
name: "Build & Push ssh_scan Parser Image"
123118
with:
124-
username: ${{ github.actor }}
125-
password: ${{ github.token }}
126-
repository: securecodebox/securecodebox-v2-alpha/parser-ssh-scan
127-
registry: docker.pkg.github.com
119+
username: ${{ secrets.DOCKER_USERNAME }}
120+
password: ${{ secrets.DOCKER_PASSWORD }}
121+
repository: scbexperimental/securecodebox-v2-alpha/parser-ssh-scan
128122
path: ./integrations/ssh_scan/parser/
129123
tag_with_ref: true
130124
- uses: docker/build-push-action@v1
131125
name: "Build & Push OWASP Zap Parser Image"
132126
with:
133-
username: ${{ github.actor }}
134-
password: ${{ github.token }}
135-
repository: securecodebox/securecodebox-v2-alpha/parser-zap
136-
registry: docker.pkg.github.com
127+
username: ${{ secrets.DOCKER_USERNAME }}
128+
password: ${{ secrets.DOCKER_PASSWORD }}
129+
repository: scbexperimental/securecodebox-v2-alpha/parser-zap
137130
path: ./integrations/zap/parser/
138131
tag_with_ref: true
139132
persistenceImages:
@@ -145,20 +138,18 @@ jobs:
145138
- uses: docker/build-push-action@v1
146139
name: "Build & Push Persistence SDK"
147140
with:
148-
username: ${{ github.actor }}
149-
password: ${{ github.token }}
150-
repository: securecodebox/securecodebox-v2-alpha/persistence-sdk-nodejs
151-
registry: docker.pkg.github.com
141+
username: ${{ secrets.DOCKER_USERNAME }}
142+
password: ${{ secrets.DOCKER_PASSWORD }}
143+
repository: scbexperimental/securecodebox-v2-alpha/persistence-sdk-nodejs
152144
path: ./persistence-sdk/nodejs/
153145
tag_with_ref: true
154146
# Actual PersistenceProviders
155147
- uses: docker/build-push-action@v1
156148
name: "Build & Push Elastic PersistenceProvider Image"
157149
with:
158-
username: ${{ github.actor }}
159-
password: ${{ github.token }}
160-
repository: securecodebox/securecodebox-v2-alpha/persistence-elastic
161-
registry: docker.pkg.github.com
150+
username: ${{ secrets.DOCKER_USERNAME }}
151+
password: ${{ secrets.DOCKER_PASSWORD }}
152+
repository: scbexperimental/securecodebox-v2-alpha/persistence-elastic
162153
path: ./persistence/persistence-elastic/
163154
tag_with_ref: true
164155
scannerImages:
@@ -170,10 +161,9 @@ jobs:
170161
- uses: docker/build-push-action@v1
171162
name: "Build & Push Nmap Scanner Image"
172163
with:
173-
username: ${{ github.actor }}
174-
password: ${{ github.token }}
175-
repository: securecodebox/securecodebox-v2-alpha/nmap
176-
registry: docker.pkg.github.com
164+
username: ${{ secrets.DOCKER_USERNAME }}
165+
password: ${{ secrets.DOCKER_PASSWORD }}
166+
repository: scbexperimental/securecodebox-v2-alpha/nmap
177167
path: ./integrations/nmap/scanner/
178168
# Note: not prefixed with a "v" as this seems to match nmap versioning standards
179169
tags: "7.80,7.80-1,latest"

0 commit comments

Comments
 (0)