chore: upgrade to axum 0.7.3 #13
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@v3 | |
- 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: Build and push Docker image | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
push: true | |
build-args: | | |
COMMITHASH=${{ github.sha }} | |
BUILDTIME=${{ steps.date.outputs.date }} | |
tags: docker.io/${{ secrets.DOCKER_NAME }}/moksha-mint:latest |