forked from jitsi/skynet
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 952 Bytes
/
docker.yml
File metadata and controls
41 lines (34 loc) · 952 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
35
36
37
38
39
40
41
name: Docker Build
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Check out code
uses: actions/checkout@v6
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v4
with:
driver: docker
- name: Log in to GHCR
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Lowercase repository
id: repo
run: echo "repo=$(echo '${{ github.repository }}' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT
- name: Build
uses: docker/build-push-action@v7
with:
context: .
tags: ghcr.io/${{ steps.repo.outputs.repo }}:latest
push: true
build-args: |
BUILD_WITH_VLLM=0