This commit is contained in:
36
.github/workflows/docker.yaml
vendored
Normal file
36
.github/workflows/docker.yaml
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
name: Build Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Log in to Gitea Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: gitea.lol3r.com
|
||||
username: leon
|
||||
password: ${{ secrets.DOCKER_PAT }}
|
||||
|
||||
- name: Build and push - nomad-scale
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./nomad-scale
|
||||
file: ./nomad-scale/Dockerfile
|
||||
push: true
|
||||
tags: |
|
||||
gitea.lol3r.com/leon/nomad-scale:latest
|
||||
gitea.lol3r.com/leon/nomad-scale:${{ gitea.sha }}
|
||||
2
README.md
Normal file
2
README.md
Normal file
@@ -0,0 +1,2 @@
|
||||
# Docker Images
|
||||
A collection of docker images that serve some basic utility needs
|
||||
3
nomad-scale/Dockerfile
Normal file
3
nomad-scale/Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
||||
FROM alpine:3.24
|
||||
|
||||
RUN apk add --no-cache bash curl jq
|
||||
Reference in New Issue
Block a user