use absolute urls for actions
Build Container Image / build_amd64 (push) Successful in 36s Details
Build Container Image / publish_amd64 (push) Successful in 24s Details

This commit is contained in:
Daniel Wolf 2023-10-13 23:36:12 -04:00
parent b2d8e35af1
commit e9f3ba2930
Signed by: nephatrine
GPG Key ID: 59D70EC2E4AAB4D0
1 changed files with 8 additions and 8 deletions

View File

@ -7,11 +7,11 @@ jobs:
runs-on: nephnet-amd64
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: https://gitea.com/actions/checkout@v3
- name: Docker Build
run: docker build --pull -t code.nephatrine.net/nephnet/starbound-scmd:${{ gitea.ref_name }} ${{ gitea.workspace }}
- name: Docker Login
uses: actions/docker-login@v2
uses: https://github.com/docker/login-action@v3
with:
registry: code.nephatrine.net
username: ${{ gitea.actor }}
@ -19,7 +19,7 @@ jobs:
- name: Docker Push
run: docker push code.nephatrine.net/nephnet/starbound-scmd:${{ gitea.ref_name }}
- name: Notify Discord
uses: actions/discord-status@v1
uses: https://github.com/sarisia/actions-status-discord@v1
if: always()
with:
title: "Container Build (X86_64)"
@ -31,13 +31,13 @@ jobs:
steps:
- name: Check Base Image
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
with:
base-image: cm2network/steamcmd:root
image: nephatrine/starbound-scmd:latest
- name: Docker Login
uses: actions/docker-login@v2
uses: https://github.com/docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
@ -47,16 +47,16 @@ jobs:
docker push nephatrine/starbound-scmd:latest
- name: Notify Discord
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:
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."
nodetail: true
webhook: ${{ secrets.DISCORD_WEBHOOK_PACKAGE }}
- name: Checkout Repository
uses: actions/checkout@v3
uses: https://gitea.com/actions/checkout@v3
- name: Docker Describe
uses: actions/dockerhub-update-description@v3
uses: https://github.com/peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}