aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/docker.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/docker.yml14
1 files changed, 10 insertions, 4 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 0b10a77..74072c7 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -13,7 +13,6 @@ on:
- ".github/workflows/docker.yml"
env:
- REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
@@ -34,11 +33,18 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
- images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- - name: Login to GitHub Registry
+ images: |
+ ghcr.io/${{ env.IMAGE_NAME }}
+ rosstheross/${{ env.IMAGE_NAME }}
+ - name: Login to DockerHub
uses: docker/login-action@v3
with:
- registry: ${{ env.REGISTRY }}
+ username: rosstheross
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
+ - name: Login to GHCR
+ uses: docker/login-action@v3
+ with:
+ registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push