File tree 1 file changed +15
-6
lines changed
1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,19 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- uses : actions/checkout@v4
14
- - name : Publish to Registry
15
- uses : elgohr/Publish-Docker-Github-Action@v5
14
+ - name : Login to GitHub Container Registry
15
+ uses : docker/login-action@v3
16
16
with :
17
- name : spaceapi/schema
18
- username : ${{ secrets.DOCKER_USERNAME }}
19
- password : ${{ secrets.DOCKER_PASSWORD }}
20
- tags : " latest"
17
+ registry : ghcr.io
18
+ username : ${{ github.actor }}
19
+ password : ${{ secrets.GITHUB_TOKEN }}
20
+ - name : Build schema image
21
+ run : |
22
+ docker build \
23
+ --no-cache \
24
+ --tag ghcr.io/spaceapi/schema \
25
+ --label "org.opencontainers.image.source=$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" \
26
+ .
27
+ - name : Publish schema image
28
+ run : |
29
+ docker push ghcr.io/spaceapi/schema:latest
You can’t perform that action at this time.
0 commit comments