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(build/docker): #88

Merged
merged 15 commits into from
Aug 31, 2023
Merged

fix(build/docker): #88

merged 15 commits into from
Aug 31, 2023

Conversation

spg
Copy link

@spg spg commented Aug 31, 2023

Uses registry cache (this is the only mode that seems to work for multi-step Docker images)

@@ -50,17 +50,20 @@ runs:
with:
driver-opts: ${{ inputs.driver-opts }}
buildkitd-flags: ${{ inputs.buildkitd-flags }}
- uses: aws-actions/configure-aws-credentials@v1
- uses: aws-actions/configure-aws-credentials@v3
Copy link
Author

@spg spg Aug 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This upgrade eliminates a warning regarding an outdated NodeJS version

with:
role-session-name: container_pusher
role-to-assume: ${{ inputs.aws-role }}
aws-region: ${{ inputs.aws-region }}
- uses: aws-actions/amazon-ecr-login@v1
id: ecr
with:
mask-password: true
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This removes a warning about displaying credentials in clear

- uses: docker/build-push-action@v3
env:
DOCKER_BUILDKIT: '1'
- uses: docker/build-push-action@v4
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Buildkit is enabled by default, so no need for DOCKER_BUILDKIT: '1'

@spg spg merged commit 93c7eac into v2 Aug 31, 2023
6 checks passed
@spg spg deleted the v3 branch August 31, 2023 12:49
@spg spg restored the v3 branch August 31, 2023 12:49
@spg spg deleted the v3 branch August 31, 2023 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants