Skip to content

Commit

Permalink
chore: add minor docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarneo committed Oct 29, 2024
1 parent 0bb041b commit 6146249
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/publish_docker_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,33 @@ jobs:
run: |
echo "version=$(echo ${{ steps.latest_tag.outputs.tag }} | cut -d'.' -f1)" >> $GITHUB_OUTPUT
- name: Push to Docker Hub
- name: Get minor version
id: minor_version
run: |
echo "version=$(echo ${{ steps.latest_tag.outputs.tag }} | cut -d'.' -f1,2)" >> $GITHUB_OUTPUT
- name: Push to Docker Hub (latest)
uses: docker/build-push-action@v4
with:
platforms: linux/amd64, linux/arm64
push: true
tags: hemmeligapp/hemmelig:latest

- name: Push to Docker Hub
- name: Push to Docker Hub (full version)
uses: docker/build-push-action@v4
with:
platforms: linux/amd64, linux/arm64
push: true
tags: hemmeligapp/hemmelig:${{ steps.latest_tag.outputs.tag }}

- name: Push to Docker Hub
- name: Push to Docker Hub (minor version)
uses: docker/build-push-action@v4
with:
platforms: linux/amd64, linux/arm64
push: true
tags: hemmeligapp/hemmelig:${{ steps.minor_version.outputs.version }}

- name: Push to Docker Hub (major version)
uses: docker/build-push-action@v4
with:
platforms: linux/amd64, linux/arm64
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ Supported docker platforms: `amd/64`, `arm/64`.

- hemmeligapp/hemmelig:latest (Is created on each version release)
- hemmeligapp/hemmelig:v5 (Is created on each version release for the major version)
- hemmeligapp/hemmelig:v5.19 (Is created on each version release for the major and minor version)
- hemmeligapp/hemmelig:v5.19.28 see [tags](https://github.com/HemmeligOrg/Hemmelig.app/tags) for all version
- hemmeligapp/hemmelig:weekly (pushed every week on Friday)
- hemmeligapp/hemmelig:daily
Expand Down

0 comments on commit 6146249

Please sign in to comment.