ci-actions/.gitea/workflows/build-deno-release.yml
Emma 4e01c6f59f
Some checks failed
Build and Push Deno Release Action / build-and-publish (push) Failing after 22s
Build and Push Version Check Action / build (push) Successful in 18s
first deno publish workflow
2025-05-06 18:40:01 -06:00

29 lines
818 B
YAML

name: Build and Push Deno Release Action
on:
push:
paths:
- deno-release/**
- .gitea/workflows/build-deno-release.yml
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Docker image
run: |
docker build -t git.cyborggrizzly.com/bearmetal/ci-actions/deno-release:latest ./deno-release
- name: Login to Gitea Registry
env:
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
run: |
echo "$REGISTRY_TOKEN" | docker login git.cyborggrizzly.com -u "$REGISTRY_USER" --password-stdin
- name: Push image to Gitea Registry
run: |
docker push git.cyborggrizzly.com/bearmetal/ci-actions/deno-release:latest