diff --git a/.craft.yml b/.craft.yml index c058d932c4..e38c574475 100644 --- a/.craft.yml +++ b/.craft.yml @@ -1,5 +1,6 @@ -minVersion: "0.27.2" -changelogPolicy: auto +minVersion: "2.15.0" +changelog: + policy: auto artifactProvider: name: none statusProvider: @@ -13,10 +14,10 @@ targets: - id: release name: docker source: ghcr.io/getsentry/snuba - target: getsentry/snuba + target: ghcr.io/getsentry/snuba - id: latest name: docker source: ghcr.io/getsentry/snuba - target: getsentry/snuba + target: ghcr.io/getsentry/snuba targetFormat: '{{{target}}}:latest' - name: github diff --git a/.github/workflows/release-ghcr-version-tag.yml b/.github/workflows/release-ghcr-version-tag.yml deleted file mode 100644 index 483bebfbee..0000000000 --- a/.github/workflows/release-ghcr-version-tag.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Release GHCR Versioned Image - -on: - release: - types: [prereleased, released] - -jobs: - release-ghcr-version-tag: - runs-on: ubuntu-latest - steps: - - name: Log in to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Tag release version - run: | - docker buildx imagetools create --tag \ - ghcr.io/getsentry/snuba:${{ github.ref_name }} \ - ghcr.io/getsentry/snuba:${{ github.sha }} - - name: Tag latest version - run: | - docker buildx imagetools create --tag \ - ghcr.io/getsentry/snuba:latest \ - ghcr.io/getsentry/snuba:${{ github.sha }}