From cb4bfea5ab4326dee17c78554f12a08ffcb9dd0e Mon Sep 17 00:00:00 2001 From: MAZE Date: Mon, 1 Jan 2024 12:39:22 +0330 Subject: [PATCH] chore: change docker workflow --- .github/workflows/build_docker.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_docker.yml b/.github/workflows/build_docker.yml index fcb7209..dec186c 100644 --- a/.github/workflows/build_docker.yml +++ b/.github/workflows/build_docker.yml @@ -2,9 +2,8 @@ name: Build and push main image on: push: - branches: - - main - - dev + branches: + - main jobs: push-store-image: @@ -19,9 +18,9 @@ jobs: with: registry: ghcr.io username: ${{github.actor}} - password: ${{secrets.GITHUB_TOKEN}} + password: ${{secrets.ACCESS_TOKEN}} - name: 'Build Inventory Image' run: | - docker build . --tag ghcr.io/${GITHUB_REPOSITORY}:${GITHUB_REF##*/} - docker push ghcr.io/${GITHUB_REPOSITORY}:${GITHUB_REF##*/} \ No newline at end of file + docker build . --tag ghcr.io/remvze/moodist:latest + docker push ghcr.io/remvze/moodist:latest