1
All checks were successful
Build Archlinux-Base Image / base (push) Successful in 1m3s

This commit is contained in:
azw
2024-08-19 12:51:11 +08:00
parent bf8174d9ff
commit c104ff9333
22 changed files with 99 additions and 9 deletions

View File

@@ -20,10 +20,20 @@ jobs:
- 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
- name: Build latest 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
docker image push ${{ vars.currect_gitea_url }}/vtbhelper/nebulabeat-mc:latest
- name: compress datapack
run: |
mkdir bin/
zip -r bin/trinkets-fixed.zip extra/trinkets-fixed
- name: release datapack
uses: akkuman/gitea-release-action@v1
with:
files: |-
bin/**
api_key: '${{ secrets.ACCESS_TOKEN }}'