Skip to content

Update Dockerfile

Update Dockerfile #31

Workflow file for this run

name: Build image
on:
push:
branches:
- main
jobs:
build_image_slim:
name: Build and upload debian-based image
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v3
with:
push: true
tags: ghcr.io/str4ngeb0yz/destructivefarm:latest,ghcr.io/str4ngeb0yz/destructivefarm:slim
file: Dockerfile
- name: Image digests
run: echo ${{ steps.docker_build.outputs.digest }}