|
1 | | -name: Docker |
2 | | - |
3 | | -# This workflow uses actions that are not certified by GitHub. |
4 | | -# They are provided by a third-party and are governed by |
5 | | -# separate terms of service, privacy policy, and support |
6 | | -# documentation. |
| 1 | +# https://github.com/white-gecko/oci-publish-template |
| 2 | +# v1 |
| 3 | +name: OCI Publish |
7 | 4 |
|
8 | 5 | on: |
9 | 6 | push: |
10 | 7 | branches: [ "main" ] |
11 | | - # Publish semver tags as releases. |
12 | 8 | tags: [ 'v*.*.*' ] |
13 | 9 | pull_request: |
14 | 10 | branches: [ "main" ] |
@@ -39,19 +35,19 @@ jobs: |
39 | 35 | # https://github.com/sigstore/cosign-installer |
40 | 36 | - name: Install cosign |
41 | 37 | if: github.event_name != 'pull_request' |
42 | | - uses: sigstore/cosign-installer@v3 #v3.5.0 |
| 38 | + uses: sigstore/cosign-installer@v3 |
43 | 39 |
|
44 | 40 | # Set up BuildKit Docker container builder to be able to build |
45 | 41 | # multi-platform images and export cache |
46 | 42 | # https://github.com/docker/setup-buildx-action |
47 | 43 | - name: Set up Docker Buildx |
48 | | - uses: docker/setup-buildx-action@v3 # v3.0.0 |
| 44 | + uses: docker/setup-buildx-action@v3 |
49 | 45 |
|
50 | 46 | # Login against a Docker registry except on PR |
51 | 47 | # https://github.com/docker/login-action |
52 | 48 | - name: Log into registry ${{ env.REGISTRY }} |
53 | 49 | if: github.event_name != 'pull_request' |
54 | | - uses: docker/login-action@v3 # v3.0.0 |
| 50 | + uses: docker/login-action@v3 |
55 | 51 | with: |
56 | 52 | registry: ${{ env.REGISTRY }} |
57 | 53 | username: ${{ github.actor }} |
|
0 commit comments