Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix docker path #6

Merged
merged 6 commits into from
May 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
packages: write

strategy:
fail-fast: false
matrix:
images:
- dir: bandit-github
Expand Down
1 change: 1 addition & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ linters:
enable-all: true
disable:
- exhaustivestruct
- exhaustruct
- forbidigo
- gochecknoglobals
- gomnd
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Collection of custom GitHub Actions.
| Action | Summary |
| - | - |
| [prepare-img-tag](prepare-img-tag) | Prepare a tag for Docker images and decide if they should be published. |
| [bandit-python](bandit-python)| Posts [bandit](https://github.com/PyCQA/bandit) code security issues as a comment in a pull request. |
| [bandit-github](bandit-github)| Posts [bandit](https://github.com/PyCQA/bandit) code security issues as a comment in a pull request. |
File renamed without changes.
2 changes: 1 addition & 1 deletion bandit-python/Dockerfile → bandit-github/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM python:3.9-alpine

WORKDIR /app

COPY bandit_python bandit_python
COPY bandit_github bandit_github
COPY setup.py setup.py
RUN pip install .

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion bandit-python/action.yaml → bandit-github/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ inputs:
required: true
runs:
using: 'docker'
image: 'docker://ghcr.io/snapaddy/actions-bandit-python:1.3.5'
image: 'docker://ghcr.io/snapaddy/actions-bandit-github:1.3.6'
args:
- ${{ inputs.path }}
- ${{ inputs.level }}
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions bandit-python/setup.py → bandit-github/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
from setuptools import find_packages, setup

setup(
name="bandit-python",
name="bandit-github",
version="1.0.0",
packages=find_packages(include=["bandit_python"]),
packages=find_packages(include=["bandit_github"]),
install_requires=["bandit", "requests"],
entry_points={"bandit.formatters": ["github = bandit_python.formatter:report"]},
entry_points={"bandit.formatters": ["github = bandit_github.formatter:report"]},
)
2 changes: 1 addition & 1 deletion prepare-img-tag/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ outputs:
description: Decides if images should be published
runs:
using: 'docker'
image: 'docker://ghcr.io/snapaddy/actions-prepare-img-tag:1.3.5'
image: 'docker://ghcr.io/snapaddy/actions-prepare-img-tag:1.3.6'