File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Docker Container
2+
3+ on : [push]
4+ # on:
5+ # push:
6+ # branches:
7+ # - main
8+ # paths:
9+ # - .github/workflows/**
10+ # pull_request:
11+ # types: [opened, synchronize, reopened]
12+ # paths:
13+ # - .github/workflows/**
14+
15+ jobs :
16+ build-and-push :
17+ runs-on : ubuntu-latest
18+ permissions :
19+ packages : write
20+ steps :
21+ - uses : actions/checkout@v4
22+
23+ - uses : docker/setup-buildx-action@v3
24+
25+ - uses : docker/login-action@v3
26+ with :
27+ registry : ghcr.io
28+ username : ${{ github.actor }}
29+ password : ${{ secrets.GH_TOKEN_PUBLISH_DOCKER_IMAGE }}
30+
31+ - uses : docker/build-push-action@v5
32+ with :
33+ context : .
34+ file : .devcontainer/Dockerfile
35+ push : true
36+ tags : ghcr.io/${{ github.repository_owner }}/nebula-logger-dev:latest
You can’t perform that action at this time.
0 commit comments