forked from firecrawl/firecrawl
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (29 loc) · 848 Bytes
/
deploy-redis.yml
File metadata and controls
34 lines (29 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Deploy Redis to GHCR
env:
DOTNET_VERSION: '6.0.x'
on:
push:
branches:
- main
paths:
- apps/redis/**
workflow_dispatch:
jobs:
push-app-image:
runs-on: blacksmith-4vcpu-ubuntu-2404
defaults:
run:
working-directory: './apps/redis'
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@main
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: 'Build Inventory Image'
run: |
docker build . --tag ghcr.io/firecrawl/firecrawl-redis:latest
docker push ghcr.io/firecrawl/firecrawl-redis:latest