From e224e033e4b94369bb5a98f67e2b1ed5cd42a123 Mon Sep 17 00:00:00 2001 From: Jackson Delahunt Date: Sat, 17 Oct 2020 13:05:40 +1100 Subject: [PATCH] registry --- .github/workflows/build-and-publish.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 05d91a4..2c92f6a 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -9,9 +9,6 @@ jobs: - name: Check out repository uses: actions/checkout@v2 - - name: Sanitise Repository Name - run: echo ::set-env name=GITHUB_REPOSITORY::$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]') - - name: Sanitise Repository Owner run: echo ::set-env name=REPOSITORY_OWNER::$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]') @@ -22,13 +19,13 @@ jobs: dockerfile: docker/Dockerfile image_name: desktop-environment push_git_tag: true - registry: ghcr.io/${{ env.GITHUB_REPOSITORY }} + registry: ghcr.io/${{ env.REPOSITORY_OWNER }} username: ${{ env.REPOSITORY_OWNER }} password: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - name: Run desktop environment tests run: ./docker/scripts/test.sh env: - DESKTOP_ENVIRONMENT_REGISTRY: ghcr.io/${{ env.GITHUB_REPOSITORY }} + DESKTOP_ENVIRONMENT_REGISTRY: ghcr.io/${{ env.REPOSITORY_OWNER }} DESKTOP_ENVIRONMENT_CONTAINER_TAG: ${{ github.ref }} continue-on-error: true