Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-ni authored Jul 27, 2024
1 parent f79fde3 commit feef7ea
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: Docker Image CI
name: Build and Push

permissions:
contents: read
packages: write

on:
push:
Expand All @@ -7,16 +11,8 @@ on:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Publish Image
uses: whoan/docker-build-with-cache-action@v5
with:
username: poketwo
password: ${{ secrets.GHCR_PAT }}
registry: ghcr.io
image_name: webhook-server
image_tag: latest,${{ github.sha }}
uses: poketwo/workflows/.github/workflows/docker-image.yaml@main
with:
package-name: webhook-server
secrets:
GIT_AUTH_TOKEN: ${{ secrets.GIT_AUTH_TOKEN }}

0 comments on commit feef7ea

Please # to comment.