File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to GitHub Container Registry
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+ workflow_dispatch :
9+
10+ jobs :
11+ build-and-publish :
12+ runs-on : ubuntu-latest
13+ permissions :
14+ contents : read
15+ packages : write
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@v3
19+
20+ - name : Set up QEMU
21+ uses : docker/setup-qemu-action@v2
22+
23+ - name : Set up Docker Buildx
24+ uses : docker/setup-buildx-action@v2
25+
26+ - name : Log in to GitHub Container Registry
27+ uses : docker/login-action@v2
28+ with :
29+ registry : ghcr.io
30+ username : ${{ github.repository_owner }}
31+ password : ${{ secrets.GITHUB_TOKEN }}
32+
33+ - name : Docker meta
34+ id : meta
35+ uses : docker/metadata-action@v4
36+ with :
37+ images : ghcr.io/0xfab1/0xfab1.net
38+
39+ - name : Build and push Docker image
40+ uses : docker/build-push-action@v4
41+ with :
42+ context : .
43+ push : ${{ github.event_name != 'pull_request' }}
44+ tags : ${{ steps.meta.outputs.tags }}
45+ labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change 11site_name : " 0xfab1"
22site_url : https://0xfab1.net
33repo_url : https://github.com/FullByte/FullByte.github.io
4+ edit_uri : edit/main/docs/
45site_description : >-
56 This is the personal website of 0xfab1. It mainly contains blog entries on IT tech stuff, games, making things and art.
67site_author : " 0xfab1"
You can’t perform that action at this time.
0 commit comments