diff --git a/.github/workflows/release-laravel-site-container.yaml b/.github/workflows/release-laravel-site-container.yaml index 94741fe8..d8b446db 100644 --- a/.github/workflows/release-laravel-site-container.yaml +++ b/.github/workflows/release-laravel-site-container.yaml @@ -22,13 +22,6 @@ jobs: - name: Fetch latest commit run: git fetch --depth=1 "https://${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}" "${GITHUB_REF}:${GITHUB_REF}" - - name: Login to docker.pkg.github.com - uses: docker/login-action@v1 - with: - registry: docker.pkg.github.com - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Login to ghcr.io uses: docker/login-action@v1 with: @@ -40,7 +33,7 @@ jobs: run: | DOCKER_REPOSITORY="${GITHUB_REPOSITORY,,}" - DOCKER_IMAGE="docker.pkg.github.com/${DOCKER_REPOSITORY}/${DOCKER_PACKAGE}" + DOCKER_IMAGE="ghcr.io/${DOCKER_REPOSITORY}/${DOCKER_PACKAGE}" echo "Using path: ${DOCKER_IMAGE}" echo "DOCKER_IMAGE=${DOCKER_IMAGE}" >> $GITHUB_ENV echo "DOCKER_REPOSITORY=${DOCKER_REPOSITORY}" >> $GITHUB_ENV @@ -56,7 +49,7 @@ jobs: DOCKER_MANIFEST="$(curl -X GET \ -u "${{ github.repository_owner }}:${{ secrets.GITHUB_TOKEN }}" \ --fail \ - "https://docker.pkg.github.com/v2/${DOCKER_REPOSITORY}/${DOCKER_PACKAGE}/manifests/${SOURCE_TREE}" + "https://ghcr.io/v2/${DOCKER_REPOSITORY}/${DOCKER_PACKAGE}/manifests/${SOURCE_TREE}" )" if [ $? -eq 0 ]; then @@ -76,7 +69,7 @@ jobs: -u "${{ github.repository_owner }}:${{ secrets.GITHUB_TOKEN }}" \ --fail \ -d "${DOCKER_MANIFEST}" \ - "https://docker.pkg.github.com/v2/${DOCKER_REPOSITORY}/${DOCKER_PACKAGE}/manifests/latest" + "https://ghcr.io/v2/${DOCKER_REPOSITORY}/${DOCKER_PACKAGE}/manifests/latest" # - uses: mxschmitt/action-tmate@v3 # env: diff --git a/.github/workflows/tag-laravel-site-container.yaml b/.github/workflows/tag-laravel-site-container.yaml index 05d3afc2..8dcb5819 100644 --- a/.github/workflows/tag-laravel-site-container.yaml +++ b/.github/workflows/tag-laravel-site-container.yaml @@ -61,7 +61,7 @@ jobs: run: | DOCKER_REPOSITORY="${GITHUB_REPOSITORY,,}" - DOCKER_IMAGE="docker.pkg.github.com/${DOCKER_REPOSITORY}/${DOCKER_PACKAGE}" + DOCKER_IMAGE="ghcr.io/${DOCKER_REPOSITORY}/${DOCKER_PACKAGE}" echo "Using path: ${DOCKER_IMAGE}" echo "DOCKER_IMAGE=${DOCKER_IMAGE}" >> $GITHUB_ENV echo "DOCKER_REPOSITORY=${DOCKER_REPOSITORY}" >> $GITHUB_ENV @@ -73,7 +73,7 @@ jobs: DOCKER_MANIFEST="$(curl -X GET \ -u "${{ github.repository_owner }}:${{ secrets.GITHUB_TOKEN }}" \ --fail \ - "https://docker.pkg.github.com/v2/${DOCKER_REPOSITORY}/${DOCKER_PACKAGE}/manifests/${SOURCE_TREE}" + "https://ghcr.io/v2/${DOCKER_REPOSITORY}/${DOCKER_PACKAGE}/manifests/${SOURCE_TREE}" )" if [ $? -ne 0 ]; then @@ -95,6 +95,6 @@ jobs: -u "${{ github.repository_owner }}:${{ secrets.GITHUB_TOKEN }}" \ --fail \ -d "${DOCKER_MANIFEST}" \ - "https://docker.pkg.github.com/v2/${DOCKER_REPOSITORY}/${DOCKER_PACKAGE}/manifests/${PACKAGE_VERSION}" + "https://ghcr.io/v2/${DOCKER_REPOSITORY}/${DOCKER_PACKAGE}/manifests/${PACKAGE_VERSION}" echo "Tagged :${SOURCE_TREE} to :${PACKAGE_VERSION}"