diff --git a/.github/actions/build-dev-image/action.yml b/.github/actions/build-dev-image/action.yml index 77248bb2..bea1c972 100644 --- a/.github/actions/build-dev-image/action.yml +++ b/.github/actions/build-dev-image/action.yml @@ -15,9 +15,12 @@ inputs: default: linux/amd64/v3 outputs: - dev-tag: - description: "The tags that were pushed" + tags: + description: "All tags that were pushed" value: ${{ steps.meta.outputs.tags }} + dev-tag: + description: "The dev tag that was pushed" + value: ${{ steps.build_input_options.outputs.dev-tag }} runs: using: "composite" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 84b6d1e4..be20089e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,8 +46,6 @@ jobs: runs-on: ubuntu-latest needs: [pre_job] if: needs.pre_job.outputs.paths_result == '{}' || !fromJSON(needs.pre_job.outputs.paths_result).python.should_skip - outputs: - tag: ${{ steps.build_dev_image.outputs.dev-tag }} steps: - name: Checkout @@ -57,8 +55,8 @@ jobs: id: setup_build_env uses: ./.github/actions/setup-image-build-env - - name: Build and push dev image - id: build_dev_image + - name: Build and push images + id: build_image uses: ./.github/actions/build-dev-image with: cache-from: "type=registry,ref=ghcr.io/pixelgentechnologies/pixelator:dev-buildcache"