Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene-panin authored Oct 4, 2024
1 parent de07042 commit 538321a
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: Docker

# GitHub Actions workflow for building, tagging, and pushing Docker images,
# with version signing using cosign.

on:
push:
branches: [ "main" ]
tags: [ 'v*.*.*' ]
branches: ["main"]
tags: ["v*.*.*"]

env:
REGISTRY: ghcr.io
Expand All @@ -25,15 +22,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install cosign
uses: sigstore/[email protected]
with:
cosign-release: 'v2.1.1'

- name: Setup Docker buildx
uses: docker/setup-buildx-action@v2
- name: Setup Docker and cosign
run: |
sudo apt-get update
sudo apt-get install -y buildx cosign
- name: Log into registry ${{ env.REGISTRY }}
- name: Log into registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
Expand Down

0 comments on commit 538321a

Please sign in to comment.