Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cwe_checker
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
cwe_checker
Commits
7194b7f0
Unverified
Commit
7194b7f0
authored
Sep 07, 2021
by
Enkelmann
Committed by
GitHub
Sep 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add automatic pushes to Dockerhub to the CI (#225)
parent
36af53ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
6 deletions
+44
-6
docker-publish-stable.yml
.github/workflows/docker-publish-stable.yml
+23
-3
docker-publish.yml
.github/workflows/docker-publish.yml
+21
-3
No files found.
.github/workflows/docker-publish-stable.yml
View file @
7194b7f0
...
...
@@ -16,7 +16,23 @@ jobs:
-
name
:
Checkout repository
uses
:
actions/checkout@v2
-
name
:
Log in to ghcr.io Container registry
-
name
:
Build test docker image
uses
:
docker/build-push-action@v2
with
:
context
:
.
load
:
true
tags
:
cwe_checker:test
-
name
:
Check functionality of the image
run
:
docker run --rm cwe_checker:test /bin/echo | grep -q CWE676
-
name
:
Login to DockerHub
uses
:
docker/login-action@v1
with
:
username
:
${{ secrets.DOCKERHUB_USERNAME }}
password
:
${{ secrets.DOCKERHUB_TOKEN }}
-
name
:
Login to ghcr.io Container registry
uses
:
docker/login-action@v1
with
:
registry
:
ghcr.io
...
...
@@ -28,4 +44,8 @@ jobs:
with
:
context
:
.
push
:
true
tags
:
ghcr.io/fkie-cad/cwe_checker:${{ steps.tagName.outputs.tag }}
\ No newline at end of file
tags
:
|
fkiecad/cwe_checker:stable
fkiecad/cwe_checker:${{ steps.tagName.outputs.tag }}
ghcr.io/fkie-cad/cwe_checker:stable
ghcr.io/fkie-cad/cwe_checker:${{ steps.tagName.outputs.tag }}
\ No newline at end of file
.github/workflows/docker-publish.yml
View file @
7194b7f0
...
...
@@ -12,7 +12,23 @@ jobs:
-
name
:
Checkout repository
uses
:
actions/checkout@v2
-
name
:
Log in to ghcr.io Container registry
-
name
:
Build test docker image
uses
:
docker/build-push-action@v2
with
:
context
:
.
load
:
true
tags
:
cwe_checker:test
-
name
:
Check functionality of the image
run
:
docker run --rm cwe_checker:test /bin/echo | grep -q CWE676
-
name
:
Login to DockerHub
uses
:
docker/login-action@v1
with
:
username
:
${{ secrets.DOCKERHUB_USERNAME }}
password
:
${{ secrets.DOCKERHUB_TOKEN }}
-
name
:
Login to ghcr.io Container registry
uses
:
docker/login-action@v1
with
:
registry
:
ghcr.io
...
...
@@ -24,4 +40,6 @@ jobs:
with
:
context
:
.
push
:
true
tags
:
ghcr.io/fkie-cad/cwe_checker:latest
\ No newline at end of file
tags
:
|
fkiecad/cwe_checker:latest
ghcr.io/fkie-cad/cwe_checker:latest
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment