mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-05-31 02:42:34 +02:00
Update docker-image-tag.yml
ghcr
This commit is contained in:
parent
f2290c8fc1
commit
671f503ffd
1 changed files with 15 additions and 9 deletions
24
.github/workflows/docker-image-tag.yml
vendored
24
.github/workflows/docker-image-tag.yml
vendored
|
@ -8,20 +8,26 @@ jobs:
|
|||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
-
|
||||
name: Set up QEMU
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
-
|
||||
name: Build and push
|
||||
- name: Build and push dockerhub
|
||||
uses: mr-smithers-excellent/docker-build-push@v5
|
||||
with:
|
||||
image: philippdormann/uptime
|
||||
registry: docker.io
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Build and Push ghcr
|
||||
uses: craftech-io/package-action@v3.1.0
|
||||
with:
|
||||
access_token: ${{ secrets.GHCR_TOKEN }}
|
||||
image_name: uptime
|
||||
# The desired tag for the image: latest + . Defaults to current branch or release version number.
|
||||
tags: |
|
||||
latest
|
||||
${{ github.sha }}
|
||||
${{ github.ref }}
|
||||
|
|
Loading…
Add table
Reference in a new issue