Compare commits
2 Commits
883e7fbfa5
...
6fa3dba208
| Author | SHA1 | Date | |
|---|---|---|---|
| 6fa3dba208 | |||
| 478464c6ad |
@@ -30,21 +30,6 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
git.plabble.org/job79/base:${{ github.ref_name }}
|
git.plabble.org/job79/base:${{ github.ref_name }}
|
||||||
git.plabble.org/job79/base:latest
|
git.plabble.org/job79/base:latest
|
||||||
|
|
||||||
go-build:
|
|
||||||
runs-on: job-latest
|
|
||||||
needs: base-build
|
|
||||||
steps:
|
|
||||||
- name: Clone repo
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Setup Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
- name: Login to Registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: git.plabble.org
|
|
||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
|
||||||
- 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:
|
||||||
@@ -54,21 +39,6 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
git.plabble.org/job79/go:${{ github.ref_name }}
|
git.plabble.org/job79/go:${{ github.ref_name }}
|
||||||
git.plabble.org/job79/go:latest
|
git.plabble.org/job79/go:latest
|
||||||
|
|
||||||
infra-build:
|
|
||||||
runs-on: job-latest
|
|
||||||
needs: base-build
|
|
||||||
steps:
|
|
||||||
- name: Clone repo
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Setup Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
- name: Login to Registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: git.plabble.org
|
|
||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
|
||||||
- name: Build and push infra container
|
- name: Build and push infra container
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
@@ -78,20 +48,6 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
git.plabble.org/job79/infra:${{ github.ref_name }}
|
git.plabble.org/job79/infra:${{ github.ref_name }}
|
||||||
git.plabble.org/job79/infra:latest
|
git.plabble.org/job79/infra:latest
|
||||||
|
|
||||||
kali-build:
|
|
||||||
runs-on: job-latest
|
|
||||||
steps:
|
|
||||||
- name: Clone repo
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Setup Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
- name: Login to Registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: git.plabble.org
|
|
||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
|
||||||
- name: Build and push kali container
|
- name: Build and push kali container
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -13,10 +13,5 @@ RUN useradd -ms /bin/bash user && \
|
|||||||
USER user
|
USER user
|
||||||
WORKDIR /home/user
|
WORKDIR /home/user
|
||||||
RUN mkdir .config .local .cache
|
RUN mkdir .config .local .cache
|
||||||
|
|
||||||
RUN git clone https://git.plabble.org/Job79/neovim-config.git .config/nvim
|
RUN git clone https://git.plabble.org/Job79/neovim-config.git .config/nvim
|
||||||
COPY --chown=user:user config/bashrc .bashrc
|
|
||||||
COPY --chown=user:user config/git .config/git/config
|
|
||||||
COPY config/bin /usr/local/bin
|
|
||||||
|
|
||||||
VOLUME /home/user
|
VOLUME /home/user
|
||||||
|
|||||||
Reference in New Issue
Block a user