chore(deps): bump lightning-invoice from 0.21.0 to 0.27.0 #82
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docker-push-dockerhub | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
build-and-push: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Log in to docker.io | |
uses: docker/[email protected] | |
with: | |
registry: docker.io | |
username: ${{ secrets.DOCKER_NAME }} | |
password: ${{ secrets.DOCKER_PAT }} | |
- name: Get current date | |
id: date | |
run: echo "::set-output name=date::$(date -u '+%F-%T')" | |
- name: Get short SHA | |
id: sha | |
run: echo "::set-output name=sha::$(git rev-parse --short HEAD)" | |
- name: Build and push Docker image | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
push: true | |
build-args: | | |
COMMITHASH=${{ steps.sha.outputs.sha }} | |
BUILDTIME=${{ steps.date.outputs.date }} | |
tags: docker.io/${{ secrets.DOCKER_NAME }}/moksha-mint:latest, docker.io/${{ secrets.DOCKER_NAME }}/moksha-mint:${{ steps.sha.outputs.sha }} |