diff --git a/.github/workflows/dev-pipeline.yml b/.github/workflows/dev-pipeline.yml index d5047ba8a8..29ac8cb7d3 100644 --- a/.github/workflows/dev-pipeline.yml +++ b/.github/workflows/dev-pipeline.yml @@ -176,7 +176,7 @@ jobs: uses: codecov/codecov-action@v3 publish-npm: - if: github.ref == 'refs/heads/node-migration' + if: github.ref == 'refs/heads/v3' needs: - lint - unit-test @@ -272,7 +272,7 @@ jobs: shell: bash docker-push: - if: github.ref == 'refs/heads/node-migration' + if: github.ref == 'refs/heads/v3' needs: - lint - unit-test @@ -301,14 +301,13 @@ jobs: id: docker-tags # todo: update to v3 before merging! run: | - echo "permanent-tag=node-migration-$(date +"%Y-%m-%dT%H.%M.%S")-${GITHUB_SHA:0:7}" >>$GITHUB_OUTPUT + echo "permanent-tag=v3-$(date +"%Y-%m-%dT%H.%M.%S")-${GITHUB_SHA:0:7}" >>$GITHUB_OUTPUT - name: build and push Docker image uses: docker/build-push-action@v4 with: context: . - # todo: update to v3 before merging! tags: | - hsldevcom/digitransit-ui:node-migration + hsldevcom/digitransit-ui:v3 hsldevcom/digitransit-ui:${{ steps.docker-tags.outputs.permanent-tag }} # https://github.com/docker/build-push-action/blob/9472e9021074a3cb3279ba431598b8836d40433f/docs/advanced/cache.md#github-cache # https://github.com/moby/buildkit#registry-push-image-and-cache-separately