act-run container image deploy
This commit is contained in:
29
.gitea/act-runner.docker-image.deploy.yml
Normal file
29
.gitea/act-runner.docker-image.deploy.yml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- "act-runner/**"
|
||||||
|
- ".gitea/**act-runner**"
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build-docker-image:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Log in to git.limbosolutions.com docker registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: git.limbosolutions.com
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Build and push Docker images
|
||||||
|
id: push
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
context: ${{gitea.workspace}}/docker
|
||||||
|
push: true
|
||||||
|
tags: git.limbosolutions.com/kb/ubuntu:act-latest
|
||||||
2
act-runner/Dockerfile
Normal file
2
act-runner/Dockerfile
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
FROM catthehacker/ubuntu:act-latest
|
||||||
|
RUN apt-get update && apt install software-properties-common && add-apt-repository --yes --update ppa:ansible/ansible && apt-get install -y ansible
|
||||||
Reference in New Issue
Block a user