Skip to content

Read access token to use it in authentication. #41

Read access token to use it in authentication.

Read access token to use it in authentication. #41

name: build-move-gcs-bucket
on:
pull_request_target:
types: [ opened, synchronize, reopened, ready_for_review ]
paths:
- "cmd/cloud-run/move-gcs-bucket/*.go"
- "cmd/cloud-run/move-gcs-bucket/Dockerfile"
- "pkg/**"
- "go.mod"
- "go.sum"
push:
branches:
- main
paths:
- "cmd/cloud-run/move-gcs-bucket/*.go"
- "cmd/cloud-run/move-gcs-bucket/Dockerfile"
- "pkg/**"
- "go.mod"
- "go.sum"
workflow_dispatch: {}
jobs:
build-image:
uses: ./.github/workflows/image-builder.yml
with:
name: move-gcs-bucket
dockerfile: cmd/cloud-run/move-gcs-bucket/Dockerfile
context: .
print-image:
runs-on: ubuntu-latest
needs: build-image
steps:
- name: Print image
run: echo "Image built ${{ needs.build-image.outputs.images }}"