mirror of https://github.com/halo-dev/halo
fix: the image tag might be wrong when it is not a pr
Signed-off-by: Rick <LinuxSuRen@users.noreply.github.com>pull/4903/head
parent
e97f3135e9
commit
6bde0c8848
|
@ -83,10 +83,12 @@ jobs:
|
|||
console-ref: false
|
||||
load: true
|
||||
platforms: ""
|
||||
- name: test
|
||||
- name: E2E Testing
|
||||
if: github.event_name == 'pull_request'
|
||||
run: |
|
||||
sudo curl -L https://github.com/docker/compose/releases/download/v2.23.0/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
|
||||
sudo chmod u+x /usr/local/bin/docker-compose
|
||||
|
||||
docker tag ghcr.io/halo-dev/halo-dev:pr-${{ github.event.number }} ghcr.io/halo-dev/halo-dev:dev
|
||||
repo=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')
|
||||
docker tag ghcr.io/${repo}/halo-dev:pr-${{ github.event.number }} ghcr.io/halo-dev/halo-dev:dev
|
||||
cd e2e && ./start.sh
|
||||
|
|
|
@ -64,6 +64,7 @@ nbdist/
|
|||
|
||||
### VSCode
|
||||
.vscode
|
||||
.gitpod.yml
|
||||
|
||||
### Local file
|
||||
application-local.yml
|
||||
|
|
Loading…
Reference in New Issue