Try out gitea actions #13
1 changed files with 2 additions and 11 deletions
|
@ -2,22 +2,13 @@ name: Deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
tag:
|
tag:
|
||||||
|
push:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: cth-ubuntu-latest
|
runs-on: cth-ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install Node
|
- name: Set up Docker Buildx
|
||||||
run: |
|
|
||||||
apt-get update
|
|
||||||
apt-get install git ca-certificates curl gnupg --yes
|
|
||||||
mkdir -p /etc/apt/keyrings
|
|
||||||
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
|
||||||
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y nodejs
|
|
||||||
-
|
|
||||||
name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
- uses: docker/build-push-action@v6
|
- uses: docker/build-push-action@v6
|
||||||
context:
|
context:
|
||||||
|
|
Loading…
Reference in a new issue