From 78b58a88ef05a4d5ab4a52eb5b1f40509bdacda9 Mon Sep 17 00:00:00 2001 From: naiba Date: Wed, 11 Nov 2020 22:29:03 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Update=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3932af0..1d5ee48 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: env: DockerPassword: ${{ secrets.PACKAGE_TOKEN }} run: | - docker build -t docker.pkg.github.com/naiba/nezha/agent -f Dockerfile.agent . - docker build -t docker.pkg.github.com/naiba/nezha/dashboard -f Dockerfile.dashboard . - docker push docker.pkg.github.com/naiba/nezha/agent - docker push docker.pkg.github.com/naiba/nezha/dashboard + docker build -t docker.pkg.github.com/${{ github.repository }}/agent -f Dockerfile.agent . + docker build -t docker.pkg.github.com/${{ github.repository }}/dashboard -f Dockerfile.dashboard . + docker push docker.pkg.github.com/${{ github.repository }}/agent + docker push docker.pkg.github.com/${{ github.repository }}/dashboard