diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index a475af5..7515bff 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - + - name: Log in to the Container registry uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 with: @@ -31,6 +31,8 @@ jobs: uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + tags: | + type=raw,value=latest,enable={{is_default_branch}} - name: Build and push Docker image uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 diff --git a/README.md b/README.md index 6b63313..9af61e2 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ With this docker image, there is no need for that. You simply mount the download ```bash cd downloader - docker run -it -v "$PWD/:/downloader" gcr.io/lukasweber/uupdump-exec + docker run -it -v "$PWD/:/downloader" ghcr.io/lukasweber/uupdump-exec ``` There you go ... :)