diff --git a/.gitea/workflows/test-login.yml b/.gitea/workflows/test-login.yml new file mode 100644 index 0000000..1a05a3c --- /dev/null +++ b/.gitea/workflows/test-login.yml @@ -0,0 +1,34 @@ +name: Build and Push Docker Images + +on: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - + name: Checkout code + uses: actions/checkout@v6.0.2 + - + name: Set up QEMU + uses: docker/setup-qemu-action@v3.7.0 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3.12.0 + with: + driver-opts: image=moby/buildkit:v0.23.2@sha256:ddd1ca44b21eda906e81ab14a3d467fa6c39cd73b9a39df1196210edcb8db59e + - + name: Login to GitHub Container Registry + uses: docker/login-action@v3.7.0 + with: + registry: ghcr.io + username: ${{ vars.GH_USERNAME }} + password: ${{ secrets.GH_TOKEN }} + - + name: Login to Docker Hub + uses: docker/login-action@v3.7.0 + with: + username: ${{ vars.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }}