This commit is contained in:
azw
2024-08-19 11:42:04 +08:00
commit d36294cb86
132 changed files with 4417 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
name: Build Archlinux-Base Image
run-name: Build Archlinux-Base Image
on:
push:
branches:
- main
env:
DOCKER_BUILDKIT: 1
DOCKER_CLI_EXPERIMENTAL: enabled
jobs:
base:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Login to GiteaDockerRepo
run: |
docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password "${{ secrets.DOCKERHUB_TOKEN }}" ${{ vars.currect_gitea_url }}
- name: Build latest archlinux Docker image and push to GiteaRepo
run: |
pwd
ls
docker build --network=host -t nebulabeat-mc:latest --no-cache .
docker image tag nebulabeat-mc:latest ${{ vars.currect_gitea_url }}/vtbhelper/nebulabeat-mc:latest
docker image push ${{ vars.currect_gitea_url }}/vtbhelper/nebulabeat-mc:latest