Skip to content

test github actions

test github actions #1

Workflow file for this run

name: Deploy Images to GHCR
on:
push:
branches:
- main
workflow_dispatch:
jobs:
push-store-image:
runs-on: ubuntu-latest
defaults:
run:
working-directory: "./Store"
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.GITHUB_TOKEN}}
- name: "Build and Push Docker Image"
uses: docker/build-push-action@v2
with:
context: .
file: ./Store/Dockerfile
push: true
tags: ghcr.io/${{github.repository}}/store:latest