Skip to content

fix Dockerfile location #2

fix Dockerfile location

fix Dockerfile location #2

Workflow file for this run

name: CI
on:
push:
branches:
- 'main'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: ./src
file: ./src/Dockerfile
push: true
tags: ghcr.io/mystdeim/github-runner:${{ github.run_number }}
build-args: |
BUILD_NUMBER=${{ github.run_number }}
platforms: linux/arm64, linux/amd64