Skip to content

Update Go to 1.22, gcloud to 463 #7

Update Go to 1.22, gcloud to 463

Update Go to 1.22, gcloud to 463 #7

Workflow file for this run

name: Test Docker Image Build
on:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
actions: write
checks: write
contents: write
deployments: write
id-token: write
issues: write
pull-requests: write
security-events: write
statuses: write
steps:
- uses: actions/checkout@v3
- name: Set Docker Metadata
id: meta
uses: docker/metadata-action@v4
with:
images: nytimes/golang-gcloud-sdk
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Build Image
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}