diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 132fc90..5a1916c 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -46,24 +46,24 @@ jobs: - run: yarn - run: EXPORT=1 UNOPTIMIZED=1 yarn build - # - - # name: Set up Docker Buildx - # uses: docker/setup-buildx-action@v3 - # - - # name: Login to Docker Hub - # uses: docker/login-action@v3 - # with: - # registry: git.jonb.io - # username: ${{ gitea.actor }} - # password: ${{ secrets.JONBIO_CI }} - # - - # name: Build and push - # uses: docker/build-push-action@v6 - # with: - # push: true - # tags: git.jonb.io/jblu/jonbio:latest - # cache-from: type=registry,ref=git.jonb.io/jblu/jonbio:buildcache - # cache-to: type=registry,image-manifest=true,oci-mediatypes=true,ref=git.jonb.io/jblu/jonbio:buildcache,mode=max + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - + name: Login to Docker Hub + uses: docker/login-action@v3 + with: + registry: git.jonb.io + username: ${{ gitea.actor }} + password: ${{ secrets.JONBIO_CI }} + - + name: Build and push + uses: docker/build-push-action@v6 + with: + push: true + tags: git.jonb.io/jblu/jonbio:latest + cache-from: type=registry,ref=git.jonb.io/jblu/jonbio:buildcache + cache-to: type=registry,image-manifest=true,oci-mediatypes=true,ref=git.jonb.io/jblu/jonbio:buildcache,mode=max # deploy: # runs-on: ubuntu-latest