policies
This commit is contained in:
1 parent
7a6ef2f2ab
commit
d04f10437b
3 files changed
+48
-49
No files matched your search
@@ -1,52 +1,52 @@
|
||||
name: Deploy Privacy Policy Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set image name
|
||||
id: vars
|
||||
run: echo "image_name=ghcr.io/${GITHUB_REPOSITORY,,}" >> "$GITHUB_OUTPUT"
|
||||
- name: Set image name
|
||||
id: vars
|
||||
run: echo "image_name=ghcr.io/${GITHUB_REPOSITORY,,}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log in to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Log in to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Extract Docker metadata
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: ${{ steps.vars.outputs.image_name }}
|
||||
tags: |
|
||||
type=raw,value=latest
|
||||
type=sha,format=long,prefix=sha-
|
||||
- name: Extract Docker metadata
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: ${{ steps.vars.outputs.image_name }}
|
||||
tags: |
|
||||
type=raw,value=latest
|
||||
type=sha,format=long,prefix=sha-
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
@@ -1,15 +1,14 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>21 (Le 21) Privacy Policy</title>
|
||||
<meta
|
||||
name="description"
|
||||
content="Privacy Policy for 21 (Le 21), a local multiplayer dice game."
|
||||
/>
|
||||
<meta name="description" content="Privacy Policy for 21 (Le 21), a local multiplayer dice game." />
|
||||
<link rel="stylesheet" href="./styles.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main class="container">
|
||||
<header class="hero">
|
||||
@@ -137,11 +136,11 @@
|
||||
For privacy questions, contact the project maintainer through the repository issue tracker:
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://github.com/THoguet/21/issues" rel="noopener noreferrer"
|
||||
>https://github.com/THoguet/21/issues</a
|
||||
>
|
||||
<a href="https://github.com/THoguet/21/issues"
|
||||
rel="noopener noreferrer">https://github.com/THoguet/21/issues</a>
|
||||
</p>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
||||
@@ -78,7 +78,7 @@ ul {
|
||||
padding-left: 1.2rem;
|
||||
}
|
||||
|
||||
li + li {
|
||||
li+li {
|
||||
margin-top: 0.45rem;
|
||||
}
|
||||
|
||||
@@ -99,4 +99,4 @@ a:focus-visible {
|
||||
padding: 1rem;
|
||||
border-radius: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user