Skip to content

Commit

Permalink
add dependabot yml file to automate dependency version bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
tariq1890 committed Jul 15, 2024
1 parent dd79438 commit 9d9b082
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "gomod"
target-branch: main
directory: "/"
schedule:
interval: "daily"
labels:
- dependencies

- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "daily"
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

ARG CUDA_IMAGE=cuda
ARG CUDA_VERSION=12.5.0
ARG BASE_DIST=ubi8

FROM nvcr.io/nvidia/${CUDA_IMAGE}:${CUDA_VERSION}-base-${BASE_DIST} as builder
FROM nvcr.io/nvidia/cuda:12.5.0-base-ubi8 as builder

RUN yum install -y wget make gcc

Expand All @@ -48,7 +44,7 @@ COPY . .

RUN make build

FROM nvcr.io/nvidia/${CUDA_IMAGE}:${CUDA_VERSION}-base-${BASE_DIST}
FROM nvcr.io/nvidia/cuda:12.5.0-base-ubi8

ARG VERSION

Expand Down

0 comments on commit 9d9b082

Please sign in to comment.