-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (26 loc) · 717 Bytes
/
web.yml
File metadata and controls
32 lines (26 loc) · 717 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
name: Build Web Container
on:
push:
branches:
- main
pull_request:
jobs:
build-web-container:
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: ./web
push: false
tags: ghcr.io/mathisburger/codecanvas-web:test