-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
This reverts commit 90c91f7.
@@ -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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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'
Uses registry cache (this is the only mode that seems to work for multi-step Docker images)