-
-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (32 loc) · 922 Bytes
/
continuous-delivery.yml
File metadata and controls
34 lines (32 loc) · 922 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: Continuous Delivery
on:
push:
branches:
- main
paths:
- 'src/**'
- 'Dockerfile'
- '.github/workflows/continuous-delivery.yml'
workflow_dispatch:
jobs:
PublishGemboard:
name: Publish gemboard image to container registries
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v6
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3.12.0
- name: Login to GitHub Container Registry
uses: docker/login-action@v3.7.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Gemboard Docker image
uses: docker/build-push-action@v6.19.2
with:
push: true
context: ./
file: Dockerfile
tags: ghcr.io/sapphiredev/gemboard:latest