Skip to content

chore(deps): bump sentry-sdk from 1.45.0 to 2.1.1 (#3549) #57

chore(deps): bump sentry-sdk from 1.45.0 to 2.1.1 (#3549)

chore(deps): bump sentry-sdk from 1.45.0 to 2.1.1 (#3549) #57

Workflow file for this run

name: Publish a versioned Docker image for production
on:
push:
tags:
- 'v*'
jobs:
build_and_push:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/spaceflightnewsapi/spaceflightnewsapi
tags: |
type=ref,event=tag
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
with:
cache-from: type=gha
cache-to: type=gha,mode=max
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
RELEASE_VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}