update readme and actions
This commit is contained in:
39
.gitea/workflows/update_readme.yml
Normal file
39
.gitea/workflows/update_readme.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
name: 'Build docker container'
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ${{ GITHUB_WORKSPACE }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Fetch
|
||||
run: |
|
||||
echo "Installing fetch"
|
||||
apt-get install -y curl
|
||||
curl -fsSL https://deb.nodesource.com/setup_24.x | bash
|
||||
npm install node-fetch
|
||||
- name: Login to DockerHub container registry
|
||||
uses: https://github.com/docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
||||
- name: Docker Hub Description
|
||||
uses: peter-evans/dockerhub-description@v5
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
||||
repository: davidquinonescl/hyperion-docker
|
||||
- name: Build and push
|
||||
uses: https://github.com/docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
Reference in New Issue
Block a user