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