initial commit
This commit is contained in:
commit
ab06adb651
44 changed files with 8933 additions and 0 deletions
24
.forgejo/workflows/container.yml
Normal file
24
.forgejo/workflows/container.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Create a Docker container from this project and post it to Forgejo (a fork of Gitea) from this Forgejo runner.
|
||||
|
||||
name: container
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Build the Docker image
|
||||
run: docker build -t git.smgames.club/${{ env.GITHUB_REPOSITORY_OWNER }}/felidae-site:latest .
|
||||
|
||||
- name: Log in to the Forgejo Container Registry
|
||||
run: echo "${{ secrets.FORGEJO_TOKEN }}" | docker login -u "${{ secrets.FORGEJO_USERNAME }}" --password-stdin git.smgames.club
|
||||
|
||||
- name: Push the Docker image
|
||||
run: docker push git.smgames.club/${{ env.GITHUB_REPOSITORY_OWNER }}/felidae-site:latest
|
Loading…
Add table
Add a link
Reference in a new issue