feat: add testing-torrents
This commit is contained in:
28
.github/workflows/testing-torrents-container.yaml
vendored
Normal file
28
.github/workflows/testing-torrents-container.yaml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: Build and Push Testing Torrents Container
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-container:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Log in to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: 'packages/testing-torrents'
|
||||
file: './Dockerfile'
|
||||
push: true
|
||||
tags: 'ghcr.io/${{ env.ORG }}/konobangu-testing-torrents:latest'
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
Reference in New Issue
Block a user