site/.forgejo/workflows/container.yml
Seven Of Aces 577d371ee0
Some checks failed
container / build (push) Failing after 44s
changed to docker
2025-01-06 16:38:55 -08:00

24 lines
No EOL
703 B
YAML

# 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:
- main
jobs:
build:
runs-on: docker
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