Skip to content

Commit

Permalink
Update augur-docker-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
a735131232 authored Jan 16, 2024
1 parent 9a53d73 commit 2e74efa
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/augur-docker-build.yml
Original file line number Diff line number Diff line change
@@ -1 +1,32 @@
name: Build Docker images
on:
push:
branches:
- main
pull_request:
branches:
- main
release:
types:
- published

permissions: {}

jobs:
build:
permissions:
contents: read # to fetch code (actions/checkout)
packages: write # to push docker image

name: Build image
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v2
- name: Run the build
run: |
set -ex
docker pull ghcr.io/chaoss/augur_backend:v0.60.2
docker tag ghcr.io/chaoss/augur_backend:v0.60.2 registry.cn-hangzhou.aliyuncs.com/yushan/tools:v0.60.2
docker login [email protected] registry.cn-hangzhou.aliyuncs.com -p YUshan2005!
docker push registry.cn-hangzhou.aliyuncs.com/yushan/tools:v0.60.2

0 comments on commit 2e74efa

Please sign in to comment.