Skip to content

Commit

Permalink
Merge branch 'master' into feat/update-readme-badges
Browse files Browse the repository at this point in the history
  • Loading branch information
julianolf authored Jan 22, 2024
2 parents a11a831 + 3a39811 commit 2340261
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish
on:
release:
types: [published]

jobs:
publish:
name: Push image to Docker Hub
runs-on: ubuntu-latest

steps:
- name: Check out
uses: actions/checkout@v4

- name: Log in
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Extract metadata (tags, labels)
id: meta
uses: docker/metadata-action@v5
with:
images: noverdetech/pequi

- name: Build and push image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 2340261

Please sign in to comment.