From 4a4b0665e33b1e470ce71b8ff4725b61cb2cde12 Mon Sep 17 00:00:00 2001 From: asonix Date: Wed, 7 Feb 2024 22:57:28 -0600 Subject: [PATCH] fix postbuild 2x combo --- .forgejo/workflows/publish.yaml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index 6e2c4fc..1865cc2 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -181,6 +181,12 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + - + name: Docker login + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Docker meta id: meta @@ -191,12 +197,6 @@ jobs: type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} - - - name: Docker login - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Create manifest list and push working-directory: /tmp/digests @@ -222,6 +222,7 @@ jobs: - uses: actions/forgejo-release@v1 with: direction: upload + token: ${{ secrets.GITHUB_TOKEN }} release-dir: artifacts/ prerelease: true @@ -231,6 +232,9 @@ jobs: container: image: node:20-bookworm steps: + - + name: Checkout pict-rs + uses: https://github.com/actions/checkout@v4 - name: Setup Rust uses: https://git.asonix.dog/asonix/pict-rs/.forgejo/actions/prepare-rust@main