Skip to content

Commit

Permalink
CI: GHA docker workflow formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nickosh committed Aug 27, 2024
1 parent 1ccfaf2 commit 497c958
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: Build and Push Docker Image

on:
release:
types: [published]
release:
types: [published]

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
steps:
- name: Checkout repository
uses: actions/checkout@v4

Expand All @@ -32,11 +32,11 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=raw,value=latest
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=raw,value=latest
- name: Build and push Docker image
uses: docker/build-push-action@v6
Expand Down

0 comments on commit 497c958

Please sign in to comment.