use absolute urls for actions
This commit is contained in:
parent
b2d8e35af1
commit
e9f3ba2930
|
@ -7,11 +7,11 @@ jobs:
|
||||||
runs-on: nephnet-amd64
|
runs-on: nephnet-amd64
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v3
|
uses: https://gitea.com/actions/checkout@v3
|
||||||
- name: Docker Build
|
- name: Docker Build
|
||||||
run: docker build --pull -t code.nephatrine.net/nephnet/starbound-scmd:${{ gitea.ref_name }} ${{ gitea.workspace }}
|
run: docker build --pull -t code.nephatrine.net/nephnet/starbound-scmd:${{ gitea.ref_name }} ${{ gitea.workspace }}
|
||||||
- name: Docker Login
|
- name: Docker Login
|
||||||
uses: actions/docker-login@v2
|
uses: https://github.com/docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: code.nephatrine.net
|
registry: code.nephatrine.net
|
||||||
username: ${{ gitea.actor }}
|
username: ${{ gitea.actor }}
|
||||||
|
@ -19,7 +19,7 @@ jobs:
|
||||||
- name: Docker Push
|
- name: Docker Push
|
||||||
run: docker push code.nephatrine.net/nephnet/starbound-scmd:${{ gitea.ref_name }}
|
run: docker push code.nephatrine.net/nephnet/starbound-scmd:${{ gitea.ref_name }}
|
||||||
- name: Notify Discord
|
- name: Notify Discord
|
||||||
uses: actions/discord-status@v1
|
uses: https://github.com/sarisia/actions-status-discord@v1
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
title: "Container Build (X86_64)"
|
title: "Container Build (X86_64)"
|
||||||
|
@ -31,13 +31,13 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Check Base Image
|
- name: Check Base Image
|
||||||
if: github.event_name != 'push'
|
if: github.event_name != 'push'
|
||||||
uses: actions/docker-base-image-check@v1.2.1
|
uses: https://github.com/lucacome/docker-image-update-checker@v1
|
||||||
id: checkbase
|
id: checkbase
|
||||||
with:
|
with:
|
||||||
base-image: cm2network/steamcmd:root
|
base-image: cm2network/steamcmd:root
|
||||||
image: nephatrine/starbound-scmd:latest
|
image: nephatrine/starbound-scmd:latest
|
||||||
- name: Docker Login
|
- name: Docker Login
|
||||||
uses: actions/docker-login@v2
|
uses: https://github.com/docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USER }}
|
username: ${{ secrets.DOCKER_USER }}
|
||||||
password: ${{ secrets.DOCKER_PASS }}
|
password: ${{ secrets.DOCKER_PASS }}
|
||||||
|
@ -47,16 +47,16 @@ jobs:
|
||||||
docker push nephatrine/starbound-scmd:latest
|
docker push nephatrine/starbound-scmd:latest
|
||||||
- name: Notify Discord
|
- name: Notify Discord
|
||||||
if: github.event_name == 'push' || steps.checkbase.outputs.needs-updating == 'true'
|
if: github.event_name == 'push' || steps.checkbase.outputs.needs-updating == 'true'
|
||||||
uses: actions/discord-status@v1
|
uses: https://github.com/sarisia/actions-status-discord@v1
|
||||||
with:
|
with:
|
||||||
title: "DockerHub: starbound-scmd"
|
title: "DockerHub: starbound-scmd"
|
||||||
description: "The container image was pushed to [DockerHub](https://hub.docker.com/repository/docker/nephatrine/starbound-scmd/general).\nPull `nephatrine/starbound-scmd:latest` for the newest image."
|
description: "The container image was pushed to [DockerHub](https://hub.docker.com/repository/docker/nephatrine/starbound-scmd/general).\nPull `nephatrine/starbound-scmd:latest` for the newest image."
|
||||||
nodetail: true
|
nodetail: true
|
||||||
webhook: ${{ secrets.DISCORD_WEBHOOK_PACKAGE }}
|
webhook: ${{ secrets.DISCORD_WEBHOOK_PACKAGE }}
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v3
|
uses: https://gitea.com/actions/checkout@v3
|
||||||
- name: Docker Describe
|
- name: Docker Describe
|
||||||
uses: actions/dockerhub-update-description@v3
|
uses: https://github.com/peter-evans/dockerhub-description@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USER }}
|
username: ${{ secrets.DOCKER_USER }}
|
||||||
password: ${{ secrets.DOCKER_PASS }}
|
password: ${{ secrets.DOCKER_PASS }}
|
||||||
|
|
Reference in New Issue