Skip to content

Commit

Permalink
feat(docker): deploy docker image to owasp org (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
lirantal authored Dec 18, 2020
1 parent 4c53ec5 commit 1f61ae9
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
name: dockerhub-deploy
on:
push:
branches:
- master
- main
tags:
- 'v*.*.*'
pull_request:
branches:
- master
- main
release:
types: [created]

jobs:
path-context:
runs-on: ubuntu-20.04
Expand All @@ -22,7 +15,7 @@ jobs:
name: Prepare
id: prep
run: |
DOCKER_IMAGE=lirantal/cwe-tool
DOCKER_IMAGE=owasp/cwe-tool
VERSION=noop
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF#refs/tags/}
Expand Down Expand Up @@ -72,7 +65,7 @@ jobs:
with:
context: .
file: ./Dockerfile
cache-from: type=registry,ref=lirantal/cwe-tool:latest
cache-from: type=registry,ref=owasp/cwe-tool:latest
cache-to: type=inline
## platforms breaking?
# platforms: linux/amd64,linux/arm64,linux/386
Expand Down

0 comments on commit 1f61ae9

Please sign in to comment.