Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
Update publish-docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdulrhmnGhanem authored Dec 30, 2020
1 parent 53d2e79 commit 9c2a528
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,28 @@ jobs:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
steps:
- name: Check out the repo
-
name: Check out the repo
uses: actions/checkout@v2
- name: Push to GitHub Packages
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to GitHub Container Registery
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
-
name: Push to GitHub Packages
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: kitspace/docker-nginx-certbot-plugin:latest
- name: Image digest
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

0 comments on commit 9c2a528

Please sign in to comment.