mirror of
https://github.com/kingomarnajjar/desktop-environment.git
synced 2026-07-26 06:37:21 +10:00
registry
This commit is contained in:
parent
5f25a33be1
commit
e224e033e4
1 changed files with 2 additions and 5 deletions
7
.github/workflows/build-and-publish.yml
vendored
7
.github/workflows/build-and-publish.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue