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

DAT-15825 docker fixes #247

Merged
merged 10 commits into from
Sep 14, 2023
Merged

DAT-15825 docker fixes #247

merged 10 commits into from
Sep 14, 2023

Conversation

jnewton03
Copy link
Contributor

No description provided.

@jnewton03 jnewton03 self-assigned this Sep 12, 2023
jandroav and others added 4 commits September 13, 2023 10:56
feat(create-release.yml): add support for updating Dockerfiles and committing changes

The Dockerfiles are updated to include the new Liquibase version and its SHA256 checksum. The Liquibase version is obtained from the collected data in a previous step. The updated Dockerfiles are then committed and tagged with the new version. If there are changes to commit, the commit message is "Liquibase Version Bumped to [extensionVersion]". The commit and tag are pushed to the repository.

feat(create-release.yml): add setup for updating draft build

The setup for updating the draft build is added. It sets up the environment for the specific image and version specified in the matrix. It checks out the repository and sets up the JDK. This setup is needed for the subsequent steps in the job.

feat(create-release.yml): add release notes step

The release notes step is added to create a draft release with the tag name and release name set to the extension version obtained from the previous step. The release body includes information about the supported Liquibase version.

feat(create-release.yml): add build and push step

The build and push step is added to build and push the Docker image with the latest, extension, and minor versions. The tags are set based on the image name, suffix, and the extension version obtained from the previous step. The image is built for both linux/amd64 and linux/arm64 platforms.
@jnewton03
Copy link
Contributor Author

@jandroav I see your changes reference Dockerfile.slim instead of Dockerfile.alpine

@jandroav
Copy link
Contributor

@jnewton03 fixed

jandroav and others added 4 commits September 14, 2023 08:34
…from the 'update-dockerfiles' job for extensionVersion and minorVersion
…slim to Dockerfile.alpine to match the actual file name

feat(create-release.yml): add support for building and pushing Docker image with Dockerfile.alpine to provide a lightweight Alpine-based image for Liquibase
@jnewton03 jnewton03 merged commit f436e0c into main Sep 14, 2023
2 checks passed
@jnewton03 jnewton03 deleted the DAT-15825 branch September 14, 2023 15:44
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.

3 participants