You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
929 B
35 lines
929 B
1 year ago
|
name: Build and Push harmony proto Docker Image
|
||
|
|
||
|
on:
|
||
|
workflow_dispatch:
|
||
|
|
||
|
jobs:
|
||
|
build_and_push:
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- name: Checkout harmony core code
|
||
|
uses: actions/checkout@v3
|
||
|
with:
|
||
|
path: harmony
|
||
|
ref: ${{ github.ref }}
|
||
|
fetch-depth: 0
|
||
|
|
||
|
- name: Set up Docker Buildx
|
||
|
uses: docker/setup-buildx-action@v2
|
||
|
|
||
|
- name: Login to DockerHub
|
||
|
uses: docker/login-action@v2
|
||
|
with:
|
||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||
|
|
||
|
- name: Build and push
|
||
|
uses: docker/build-push-action@v3
|
||
|
with:
|
||
|
context: ./harmony/api/service/legacysync/downloader
|
||
|
file: ./harmony/api/service/legacysync/downloader/Proto.Dockerfile
|
||
|
push: true
|
||
|
platforms: linux/amd64,linux/arm64
|
||
|
tags: |
|
||
|
harmonyone/harmony-proto:latest
|