.gitea/workflows/action.yml aktualisiert
All checks were successful
CI / build_act_base (push) Successful in 40s

This commit is contained in:
Snoweuph 2024-05-09 10:24:19 +00:00
parent cdbb4afefe
commit 25a2beaccd

View file

@ -10,8 +10,7 @@ jobs:
runs-on: 'priviliged' runs-on: 'priviliged'
steps: steps:
- name: Install Docker - name: Install Docker
run: | run: "rm $(which docker) && curl -fsSL https://get.docker.com | sh"
rm $(which docker) && curl -fsSL https://get.docker.com | sh
- name: Set up QEMU - name: Set up QEMU
uses: 'https://git.euph.dev/actions/docker-setup-qemu@v3' uses: 'https://git.euph.dev/actions/docker-setup-qemu@v3'
- name: Setup Buildx - name: Setup Buildx
@ -47,22 +46,21 @@ jobs:
language: lua language: lua
steps: steps:
- name: Install Docker - name: Install Docker
run: | run: "rm $(which docker) && curl -fsSL https://get.docker.com | sh"
rm $(which docker) && curl -fsSL https://get.docker.com | sh
- name: Set up QEMU - name: Set up QEMU
uses: 'https://git.euph.dev/actions/docker-setup-qemu@v3' uses: 'https://git.euph.dev/actions/docker-setup-qemu@v3'
- name: Setup Buildx - name: Setup Buildx
uses: 'https://git.euph.dev/actions/docker-setup-buildx@v3' uses: 'https://git.euph.dev/actions/docker-setup-buildx@v3'
- name: Login to Registry - name: Login to Registry
uses: 'https://git.euph.dev/actions/docker-login@v3' uses: 'https://git.euph.dev/actions/docker-login@v3'
with: with:
registry: git.euph.dev registry: git.euph.dev
username: ${{ secrets.DEPLOY_USER }} username: ${{ secrets.DEPLOY_USER }}
password: ${{ secrets.DEPLOY_SECRET }} password: ${{ secrets.DEPLOY_SECRET }}
- name: Build and push ${{ matrix.language }} image - name: Build and push ${{ matrix.language }} image
id: build_act_${{ matrix.language }} id: build_act_${{ matrix.language }}
uses: 'https://git.euph.dev/actions/docker-build-push@v5' uses: 'https://git.euph.dev/actions/docker-build-push@v5'
with: with:
context: "{{defaultContext}}:images/actions/${{ matrix.language }}" context: "{{defaultContext}}:images/actions/${{ matrix.language }}"
push: true push: true
build-args: PACKAGE_VERSION=${{ matrix.version }} build-args: PACKAGE_VERSION=${{ matrix.version }}