parent
3efce1f53b
commit
15097fdd52
@ -33,9 +33,9 @@ jobs:
|
|||||||
username: ${{ secrets.REPO_USERNAME }}
|
username: ${{ secrets.REPO_USERNAME }}
|
||||||
password: ${{ secrets.REPO_TOKEN }}
|
password: ${{ secrets.REPO_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push - gitea-runner:ubuntu-latest
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
context: ./gitea-runner
|
context: ./gitea-runner
|
||||||
tags: git.fascinated.cc/fascinated/gitea-runner:ubuntu-latest
|
tags: git.fascinated.cc/fascinated/gitea-runner:latest
|
@ -1,19 +1,4 @@
|
|||||||
from ubuntu:latest
|
FROM docker:stable
|
||||||
|
|
||||||
# Disable interactive mode
|
# Install packages
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
RUN apk add --no-cache curl wget git
|
||||||
|
|
||||||
# Update and install packages
|
|
||||||
RUN apt update && apt upgrade -y
|
|
||||||
RUN apt install -y git wget curl
|
|
||||||
RUN echo "Installed and updated packages"
|
|
||||||
|
|
||||||
# Install Docker
|
|
||||||
RUN wget -q -O /tmp/docker.tgz https://download.docker.com/linux/static/stable/x86_64/docker-20.10.23.tgz \
|
|
||||||
&& tar --extract --file /tmp/docker.tgz --directory /usr/bin --strip-components 1 --no-same-owner docker/docker \
|
|
||||||
&& rm -rf /tmp/*
|
|
||||||
RUN echo "Installed Docker"
|
|
||||||
|
|
||||||
# Clean up apt
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
RUN apt clean
|
|
Loading…
Reference in New Issue
Block a user