14 lines
329 B
YAML
14 lines
329 B
YAML
name: Build image
|
|
on: [push]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v3
|
|
with:
|
|
context: .
|
|
file: ./Dockerfile
|
|
push: true
|
|
tags: ${{ vars.DOCKER_REGISTRY }}/${{ vars.IMAGE_NAME }}
|
|
labels: latest |