Skip to content

chore: change docker workflow #2

chore: change docker workflow

chore: change docker workflow #2

Workflow file for this run

name: Build and push main image
on:
push:
branches:
- main
jobs:
push-store-image:
runs-on: ubuntu-latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@main
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.ACCESS_TOKEN}}
- name: 'Build Inventory Image'
run: |
docker build . --tag ghcr.io/remvze/moodist:latest
docker push ghcr.io/remvze/moodist:latest