Skip to content
This repository was archived by the owner on Apr 11, 2025. It is now read-only.

Commit 7dac797

Browse files
authored
Create github-container-registry.yml
1 parent bf5efd7 commit 7dac797

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Deploy Images to GHCR
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
push-store-image:
11+
runs-on: ubuntu-latest
12+
defaults:
13+
run:
14+
working-directory: './Store'
15+
steps:
16+
- name: 'Checkout GitHub Action'
17+
uses: actions/checkout@main
18+
19+
- name: 'Login to GitHub Container Registry'
20+
uses: docker/login-action@v1
21+
with:
22+
registry: ghcr.io
23+
username: ${{github.actor}}
24+
password: ${{secrets.GITHUB_TOKEN}}
25+
26+
- name: 'Build Inventory Image'
27+
run: |
28+
docker build . --tag ghcr.io/marknefedov/ollama-openrouter-proxy:latest
29+
docker push ghcr.io/marknefedov/ollama-openrouter-proxy:latest

0 commit comments

Comments
 (0)