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
323d070e
Unverified
Commit
323d070e
authored
3 years ago
by
Enkelmann
Committed by
GitHub
3 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Publish Docker images on ghcr.io (#222)
parent
b06cccff
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
0 deletions
+60
-0
docker-publish-stable.yml
.github/workflows/docker-publish-stable.yml
+32
-0
docker-publish.yml
.github/workflows/docker-publish.yml
+28
-0
No files found.
.github/workflows/docker-publish-stable.yml
0 → 100644
View file @
323d070e
name
:
Publish Docker images for release versions
on
:
release
:
types
:
[
published
]
jobs
:
build-and-publish-image
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Get tag name
uses
:
olegtarasov/get-tag@v2.1
id
:
tagName
-
name
:
Checkout repository
uses
:
actions/checkout@v2
-
name
:
Log in to ghcr.io Container registry
uses
:
docker/login-action@v1
with
:
registry
:
ghcr.io
username
:
${{ github.actor }}
password
:
${{ secrets.GITHUB_TOKEN }}
-
name
:
Build and push Docker image
uses
:
docker/build-push-action@v2
with
:
context
:
.
push
:
true
tags
:
ghcr.io/fkie-cad/cwe_checker:${{ steps.tagName.outputs.tag }}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.github/workflows/docker-publish.yml
0 → 100644
View file @
323d070e
name
:
Publish Docker image based on master branch
on
:
push
:
branches
:
[
'
master'
]
jobs
:
build-and-publish-image
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v2
-
name
:
Log in to ghcr.io Container registry
uses
:
docker/login-action@v1
with
:
registry
:
ghcr.io
username
:
${{ github.actor }}
password
:
${{ secrets.GITHUB_TOKEN }}
-
name
:
Build and push Docker image
uses
:
docker/build-push-action@v2
with
:
context
:
.
push
:
true
tags
:
ghcr.io/fkie-cad/cwe_checker:latest
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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