Skip to content

Merge pull request #7 from darwinia-network/aki-fix-exposures #48

Merge pull request #7 from darwinia-network/aki-fix-exposures

Merge pull request #7 from darwinia-network/aki-fix-exposures #48

Workflow file for this run

name: Staging
on:
push:
branches: [ main ]
workflow_dispatch:
env:
DOCKER_REGISTRY: ghcr.io
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: benjlevesque/[email protected]
- name: Docker login
uses: docker/login-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ${{ env.DOCKER_REGISTRY }}
- name: Build and push
uses: docker/build-push-action@v3
with:
push: true
context: .
file: Dockerfile
tags: ${{ env.DOCKER_REGISTRY }}/${{ github.repository }}:sha-${{ env.SHA }}