-
-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle spaces in path to Docker command (#357)
- Loading branch information
Showing
8 changed files
with
29 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:1.20.4-alpine3.17 | ||
FROM golang:1.20.7-alpine3.18 | ||
LABEL maintainer="Cloud Posse <[email protected]>" | ||
|
||
LABEL "com.github.actions.name"="Build Harness" | ||
|
@@ -27,13 +27,13 @@ RUN apk --update --no-cache add \ | |
py3-cffi && \ | ||
python3 -m pip install --upgrade pip setuptools wheel && \ | ||
pip3 install --no-cache-dir \ | ||
cryptography==41.0.2 \ | ||
cryptography==41.0.3 \ | ||
PyYAML==6.0.1 \ | ||
awscli==1.29.9 \ | ||
awscli==1.29.25 \ | ||
boto==2.49.0 \ | ||
boto3==1.28.9 \ | ||
boto3==1.28.25 \ | ||
iteration-utilities==0.11.0 \ | ||
PyGithub==1.59 && \ | ||
PyGithub==1.59.1 && \ | ||
git config --global advice.detachedHead false | ||
|
||
# Install pre-commit support | ||
|
@@ -83,7 +83,7 @@ RUN curl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/in | |
COPY <<EOF /root/.tflint.hcl | ||
plugin "aws" { | ||
enabled = true | ||
version = "0.23.0" | ||
version = "0.26.0" | ||
source = "github.com/terraform-linters/tflint-ruleset-aws" | ||
} | ||
EOF | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.17 | ||
FROM alpine:3.18 | ||
LABEL maintainer="Cloud Posse <[email protected]>" | ||
|
||
LABEL "com.github.actions.name"="Build Harness" | ||
|
@@ -47,7 +47,7 @@ RUN curl -sSL https://raw.githubusercontent.com/terraform-linters/tflint/master/ | |
COPY <<EOF /root/.tflint.hcl | ||
plugin "aws" { | ||
enabled = true | ||
version = "0.23.0" | ||
version = "0.26.0" | ||
source = "github.com/terraform-linters/tflint-ruleset-aws" | ||
} | ||
EOF | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
## Use DOCKER_HUB_USERNAME and DOCKER_HUB_PASSWORD env variables to pass credentials | ||
## Login into docker hub | ||
docker/login: $(DOCKER) | ||
.PHONY: docker/login | ||
|
||
docker/login: | ||
@if [ -n "$(DOCKER_HUB_USERNAME)" ] && [ -n "$(DOCKER_HUB_PASSWORD)" ]; then \ | ||
$(DOCKER) login --username="$(DOCKER_HUB_USERNAME)" --password="$(DOCKER_HUB_PASSWORD)"; \ | ||
"$(DOCKER)" login --username="$(DOCKER_HUB_USERNAME)" --password="$(DOCKER_HUB_PASSWORD)"; \ | ||
else \ | ||
echo "Skipping docker:login. Docker credentials (DOCKER_HUB_USERNAME or DOCKER_HUB_PASSWORD) are not set"; \ | ||
echo "Skipping docker:login. Docker credentials (DOCKER_HUB_USERNAME or DOCKER_HUB_PASSWORD) are not set"; \ | ||
fi; |