blob: a0e6c1b9b985819f50d0538c460ab850e3449ad8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
name: Docker Image CI
on:
push:
permissions:
packages: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Build the Docker image
run: docker build . --label "org.opencontainers.image.source=https://github.com/DelusionalLogic/dht" --file Dockerfile --tag app
- name: Push the image
run: |
docker push app ghcr.io/delusionallogic/dht:1.${{ github.run_number }}
docker push app ghcr.io/delusionallogic/dht:latest
|