refactor: rename base to fedora
This commit is contained in:
@@ -8,7 +8,7 @@ on:
|
|||||||
- cron: "0 16 * * FRI"
|
- cron: "0 16 * * FRI"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
base-build:
|
fedora-build:
|
||||||
runs-on: job-latest
|
runs-on: job-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repo
|
- name: Clone repo
|
||||||
@@ -21,15 +21,15 @@ jobs:
|
|||||||
registry: git.plabble.org
|
registry: git.plabble.org
|
||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
- name: Build and push base container
|
- name: Build and push fedora container
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: ./containers/base
|
context: ./containers/fedora
|
||||||
file: ./containers/base/Containerfile
|
file: ./containers/fedora/Containerfile
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
git.plabble.org/job79/base:${{ github.ref_name }}
|
git.plabble.org/job79/fedora:${{ github.ref_name }}
|
||||||
git.plabble.org/job79/base:latest
|
git.plabble.org/job79/fedora:latest
|
||||||
- name: Build and push go container
|
- name: Build and push go container
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM git.plabble.org/job79/base:latest
|
FROM git.plabble.org/job79/fedora
|
||||||
USER root
|
USER root
|
||||||
RUN dnf -y install go
|
RUN dnf -y install go
|
||||||
USER user
|
USER user
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM git.plabble.org/job79/base:latest
|
FROM git.plabble.org/job79/fedora
|
||||||
USER root
|
USER root
|
||||||
RUN dnf -y install kubectl openssl
|
RUN dnf -y install kubectl openssl
|
||||||
RUN curl -sL https://talos.dev/install | sh
|
RUN curl -sL https://talos.dev/install | sh
|
||||||
|
|||||||
Reference in New Issue
Block a user