Skip to content

Commit

Permalink
chore: change docker workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
remvze committed Jan 1, 2024
1 parent 210bd23 commit cb4bfea
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: Build and push main image

on:
push:
branches:
- main
- dev
branches:
- main

jobs:
push-store-image:
Expand All @@ -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##*/}
docker build . --tag ghcr.io/remvze/moodist:latest
docker push ghcr.io/remvze/moodist:latest

0 comments on commit cb4bfea

Please sign in to comment.