playa/.forgejo/workflows/build-container.yml

37 lines
860 B
YAML
Raw Normal View History

2024-11-04 07:41:17 +01:00
on: [push]
env:
DOCKER_TLS_CERTDIR: "/certs"
jobs:
build:
runs-on: docker-dind
steps:
- name: Install prerequisites
shell: sh
run: |
apk update
apk add bash git openssh curl nodejs npm
- uses: actions/checkout@v4
with:
github-server-url: 'registry.wasp.dev'
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Container Registry
uses: docker/login-action@v3
with:
registry: registry.wasp.dev
username: ${{ secrets.FJ_REGISTRY_USERNAME }}
password: ${{ secrets.FJ_REGISTRY_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
push: true
tags: registry.wasp.dev/wasp/playa:latest