Update main.yml

pull/15/head
Laurence Luo 2024-06-17 10:30:56 +08:00 committed by GitHub
parent a22c9dea14
commit ad8a9c2b00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -21,11 +21,18 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
id: docker_build
uses: docker/build-push-action@v5
with:
context: .
push: true
file: Dockerfile
tags: ${{ secrets.DOCKERHUB_USERNAME }}/mobaxterm-genkey:latest