Skip to content

tested docker runtime (#67) #28

tested docker runtime (#67)

tested docker runtime (#67) #28

Workflow file for this run

name: Create and publish a Docker image
on:
push:
branches:
- main
env:
REGISTRY: ghcr.io
IMAGE_NAME: adorsys-gis/webank-userapp
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.WEBANK_ONLINE_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
build-args: |
VITE_BACKEND_URL=/api
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest