Skip to content

Commit

Permalink
CLOUDP-275620 Fix broken docker build test github action (#3298)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmenezes authored Oct 3, 2024
1 parent 48cd950 commit b90224a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 23 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/code-health.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,3 +222,37 @@ jobs:
with:
go-version-file: 'go.mod'
- run: make check-templates
verify_image:
name: Build docker image
runs-on: ubuntu-latest
env:
DOCKER_CLI_EXPERIMENTAL: enabled
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
with:
config: ${{ vars.PERMISSIONS_CONFIG }}
- name: Check out the repo
uses: actions/checkout@v4
- name: Linting
uses: hadolint/[email protected]
with:
dockerfile: Dockerfile
- name: Enable containerd image store
uses: crazy-max/[email protected]
with:
version: v24.0.6
daemon-config: |
{
"features": {
"containerd-snapshotter": true
}
}
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Build image to dockerhub staging registry
uses: docker/[email protected]
with:
context: .
platforms: linux/amd64,linux/arm64
tags: mongodb/atlas:test
file: Dockerfile
23 changes: 0 additions & 23 deletions .github/workflows/docker-build-test.yml

This file was deleted.

0 comments on commit b90224a

Please sign in to comment.