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

Create dependabot.yml #7

Merged
merged 2 commits into from
Apr 9, 2024
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
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2

updates:
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@

# Go workspace file
go.work

# Add IDE files
.idea/
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ ARG GO_VERSION=1.20
# Use the official Go image as the base image for the build stage
FROM golang:${GO_VERSION}-alpine AS build

LABEL org.opencontainers.image.source="https://github.com/uclalibrary/service-template"
LABEL org.opencontainers.image.description="A template for UCLA Library services written in Go"

# Set the working directory inside the container
WORKDIR /app

Expand All @@ -26,4 +29,4 @@ COPY --from=build /godocker /godocker
EXPOSE 8080

# Specify the command to be used when the image is used to start a container
ENTRYPOINT ["/godocker"]
ENTRYPOINT ["/godocker"]
Loading