mirror of
https://github.com/kingomarnajjar/desktop-environment.git
synced 2026-07-25 22:27:20 +10:00
cache
This commit is contained in:
parent
c90f42ebbc
commit
72ffbedfc1
1 changed files with 5 additions and 3 deletions
8
.github/workflows/build-and-publish.yml
vendored
8
.github/workflows/build-and-publish.yml
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
- name: Login to container registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io/${{ env.REPOSITORY_OWNER }}
|
||||
registry: ghcr.io
|
||||
username: ${{ env.REPOSITORY_OWNER }}
|
||||
password: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||
|
||||
|
|
@ -22,9 +22,11 @@ jobs:
|
|||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
build-args: --build-arg=DESKTOP_ENVIRONMENT_USER=${{ env.REPOSITORY_OWNER }} --build-arg=DESKTOP_ENVIRONMENT_GITHUB_USER=${{ env.REPOSITORY_OWNER }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
file: docker/Dockerfile
|
||||
tags: desktop-environment
|
||||
push_git_tag: true
|
||||
push: true
|
||||
tags: ${{ env.REPOSITORY_OWNER }}/desktop-environment:latest
|
||||
|
||||
- name: Run desktop environment tests
|
||||
run: ./docker/scripts/test.sh
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue