Skip to content

Commit

Permalink
206-doublestar-mount Corrected Dockerfile, added missing comments to …
Browse files Browse the repository at this point in the history
…config.go
  • Loading branch information
bdebyl committed Jul 19, 2022
1 parent 92655c8 commit 5f9e3a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# This file is designed to only used by goreleaser.
FROM golang:1.18.4 AS builder
RUN apk add --update --no-cache ca-certificates tzdata && update-ca-certificates

RUN update-ca-certificates

FROM scratch as runner

Expand Down
2 changes: 2 additions & 0 deletions internal/plugin/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ type Config struct {
GCS gcs.Config
}

// HandleMount runs prior to Rebuild and Restoring of caches to handle unique
// paths such as double-star globs
func (c *Config) HandleMount() error {
mountLen := len(c.Mount)
if mountLen > 0 {
Expand Down

0 comments on commit 5f9e3a0

Please sign in to comment.