Update .forgejo/workflows/build.yml
This commit is contained in:
parent
e8aa7316ef
commit
5dcb822d5f
1 changed files with 4 additions and 6 deletions
|
@ -6,13 +6,11 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build-latest:
|
build-latest:
|
||||||
runs-on: debian-node
|
container:
|
||||||
|
image: docker:dind
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install deps
|
|
||||||
run: curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@master
|
uses: docker/setup-buildx-action@master
|
||||||
|
@ -20,7 +18,7 @@ jobs:
|
||||||
- name: Login to Self-Hosted Registry
|
- name: Login to Self-Hosted Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.myco.systems
|
registry: fung.uy
|
||||||
username: ${{ secrets.MYCO_REGISTRY_USER }}
|
username: ${{ secrets.MYCO_REGISTRY_USER }}
|
||||||
password: ${{ secrets.MYCO_PERSONAL_ACCESS_TOKEN }}
|
password: ${{ secrets.MYCO_PERSONAL_ACCESS_TOKEN }}
|
||||||
|
|
||||||
|
@ -33,4 +31,4 @@ jobs:
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
git.myco.systems/mycosystems/web-ci:latest
|
fung.uy/mycosystems/web-ci:latest
|
||||||
|
|
Loading…
Add table
Reference in a new issue