use absolute urls for actions
Build Container Image / build_amd64 (push) Successful in 53s Details
Build Container Image / publish_amd64 (push) Successful in 32s Details
Build Container Image / build_arm64 (push) Successful in 3m0s Details
Build Container Image / build_manifest (push) Successful in 6s Details
Build Container Image / publish_arm64 (push) Successful in 39s Details
Build Container Image / publish_manifest (push) Successful in 17s Details

This commit is contained in:
Daniel Wolf 2023-10-12 18:50:26 -04:00
parent 6c6275b0cb
commit 350897003e
Signed by: nephatrine
GPG Key ID: 59D70EC2E4AAB4D0
1 changed files with 14 additions and 14 deletions

View File

@ -7,13 +7,13 @@ 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/nginx-h5ai:${{ gitea.ref_name }}-cached --target builder ${{ gitea.workspace }}
docker build --pull -t code.nephatrine.net/nephnet/nginx-h5ai:${{ gitea.ref_name }}-amd64 ${{ 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 }}
@ -21,7 +21,7 @@ jobs:
- name: Docker Push
run: docker push code.nephatrine.net/nephnet/nginx-h5ai:${{ gitea.ref_name }}-amd64
- 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:
runs-on: nephnet-arm64
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/nginx-h5ai:${{ gitea.ref_name }}-cached --target builder ${{ gitea.workspace }}
docker build --pull -t code.nephatrine.net/nephnet/nginx-h5ai:${{ gitea.ref_name }}-arm64v8 ${{ 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 }}
@ -45,7 +45,7 @@ jobs:
- name: Docker Push
run: docker push code.nephatrine.net/nephnet/nginx-h5ai:${{ gitea.ref_name }}-arm64v8
- name: Notify Discord
uses: actions/discord-status@v1
uses: https://github.com/sarisia/actions-status-discord@v1
if: always()
with:
title: "Container Build (AARCH64)"
@ -55,7 +55,7 @@ jobs:
runs-on: nephnet
steps:
- name: Docker Login
uses: actions/docker-login@v2
uses: https://github.com/docker/login-action@v3
with:
registry: code.nephatrine.net
username: ${{ gitea.actor }}
@ -71,13 +71,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: nephatrine/nginx-php:latest-amd64
image: nephatrine/nginx-h5ai:latest-amd64
- 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 }}
@ -87,7 +87,7 @@ jobs:
docker push nephatrine/nginx-h5ai:latest-amd64
- 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: nginx-h5ai"
description: "The container image was pushed to [DockerHub](https://hub.docker.com/repository/docker/nephatrine/nginx-h5ai/general).\nPull `nephatrine/nginx-h5ai:latest-amd64` for the newest image."
@ -99,7 +99,7 @@ jobs:
runs-on: nephnet-arm64
steps:
- 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 }}
@ -112,7 +112,7 @@ jobs:
runs-on: nephnet
steps:
- 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 }}
@ -127,9 +127,9 @@ jobs:
docker manifest push --purge nephatrine/nginx-h5ai:0
docker manifest push --purge nephatrine/nginx-h5ai:latest
- 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 }}