diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 137a9468..f9163408 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -52,12 +52,12 @@ jobs: name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - - name: Login to Registry + name: Login to GitHub Container Registry uses: docker/login-action@v1 with: - registry: docker.pkg.github.com - username: ${{ secrets.USERNAME }} - password: ${{ secrets.TOKEN }} + registry: ghcr.io + username: ${{ secrets.GH_USERNAME }} + password: ${{ secrets.GH_PAT }} - name: Build and push id: docker_build @@ -65,7 +65,8 @@ jobs: with: platforms: linux/amd64,linux/arm64,linux/arm push: true - tags: docker.pkg.github.com/argoproj-labs/argocd-notifications/argocd-notifications:${{ env.IMAGE_TAG }} + tags: | + ghcr.io/argoproj-labs/argocd-notifications:latest file: ./Dockerfile build-args: | IMAGE_TAG=${{ env.IMAGE_TAG }} \ No newline at end of file