Skip to content

Commit

Permalink
Build tagged image with commit hash
Browse files Browse the repository at this point in the history
  • Loading branch information
socheatsok78 committed Apr 18, 2024
1 parent 107c280 commit e98e1c4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ jobs:
uses: docker/metadata-action@v4
with:
images: libreofficedocker/alpine
tags: type=raw,value=${{ matrix.version }}
tags: |
type=raw,value=${{ matrix.version }}
type=sha,prefix=${{ matrix.version }}-
- name: Build and push
uses: docker/bake-action@v3
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ This image uses the [`alpine`](https://hub.docker.com/_/alpine) as base images.
docker pull libreofficedocker/alpine:${ALPINE_VERSION}
```

> [!NOTE]
> The container images are being build and pushed to the registry periodically through an automated process. It schedules a build every week to ensure that the images are up-to-date with the latest security patches and updates.
>
> Runs at 00:00, only on Sunday every week.
If you want to stick with a specific version, you can pull the image with the tag corresponding to a specific commit hash. Please check the [![Release](https://github.com/libreofficedocker/libreoffice-unoserver/actions/workflows/release.yml/badge.svg?branch=v2)](https://github.com/libreofficedocker/libreoffice-unoserver/actions/workflows/release.yml) workflow for the build and tags you want to use.

## License

Licensed under [Apache-2.0 license](LICENSE)
Expand Down

0 comments on commit e98e1c4

Please sign in to comment.