chore(Docker): publish to docker hub

Fix #45
This commit is contained in:
ShareVB committed 2025-03-30 11:34:03 +02:00
1 parent aff2cecba4
commit b870e0e99b
3 files changed
+20

No files matched your search

@@ -83,6 +83,7 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
sharevb/it-tools:nightly
ghcr.io/${{ github.repository_owner }}/it-tools:nightly
# Optionally log out
@@ -43,6 +43,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
@@ -64,6 +70,7 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
sharevb/it-tools:latest
ghcr.io/${{ github.repository_owner }}/it-tools:latest
+12
View File
@@ -15,6 +15,12 @@ jobs:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
@@ -36,6 +42,8 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
sharevb/it-tools:latest
sharevb/it-tools:${{ env.RELEASE_VERSION}}
ghcr.io/sharevb/it-tools:latest
ghcr.io/sharevb/it-tools:${{ env.RELEASE_VERSION}}
@@ -89,6 +97,10 @@ jobs:
body: |
## Docker images
- Docker Hub Registry
- `sharevb/it-tools:latest`
- `sharevb/it-tools:${{ env.RELEASE_VERSION}}`
- GitHub Container Registry
- `ghcr.io/sharevb/it-tools:latest`
- `ghcr.io/sharevb/it-tools:${{ env.RELEASE_VERSION}}`