1
0
Fork 0

use absolute urls for actions
Build Container Image / build_amd64 (push) Successful in 1m13s Details
Build Container Image / publish_amd64 (push) Successful in 22s Details
Build Container Image / build_arm64 (push) Successful in 7m51s Details
Build Container Image / publish_arm64 (push) Successful in 23s Details
Build Container Image / build_armhf (push) Successful in 17m9s Details
Build Container Image / publish_armhf (push) Successful in 47s Details
Build Container Image / build_manifest (push) Successful in 9s Details
Build Container Image / publish_manifest (push) Successful in 21s Details

This commit is contained in:
Daniel Wolf 2023-10-11 15:46:50 -04:00
parent 64a4c70ee3
commit 2d7f25307f
Signed by: nephatrine
GPG Key ID: 59D70EC2E4AAB4D0
1 changed files with 18 additions and 18 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/drone-ci:${{ gitea.ref_name }}-cached --target builder ${{ gitea.workspace }}
docker build --pull -t code.nephatrine.net/nephnet/drone-ci:${{ 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/drone-ci:${{ 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/drone-ci:${{ gitea.ref_name }}-cached --target builder ${{ gitea.workspace }}
docker build --pull -t code.nephatrine.net/nephnet/drone-ci:${{ 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/drone-ci:${{ 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,13 +55,13 @@ jobs:
runs-on: nephnet-armhf
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/drone-ci:${{ gitea.ref_name }}-cached --target builder ${{ gitea.workspace }}
docker build --pull -t code.nephatrine.net/nephnet/drone-ci:${{ gitea.ref_name }}-armv7 ${{ 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 }}
@ -69,7 +69,7 @@ jobs:
- name: Docker Push
run: docker push code.nephatrine.net/nephnet/drone-ci:${{ gitea.ref_name }}-armv7
- name: Notify Discord
uses: actions/discord-status@v1
uses: https://github.com/sarisia/actions-status-discord@v1
if: always()
with:
title: "Container Build (ARMV7L)"
@ -79,7 +79,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 }}
@ -95,13 +95,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/alpine-s6:latest-amd64
image: nephatrine/drone-ci: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 }}
@ -111,7 +111,7 @@ jobs:
docker push nephatrine/drone-ci: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: drone-ci"
description: "The container image was pushed to [DockerHub](https://hub.docker.com/repository/docker/nephatrine/drone-ci/general).\nPull `nephatrine/drone-ci:latest-amd64` for the newest image."
@ -123,7 +123,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 }}
@ -137,7 +137,7 @@ jobs:
runs-on: nephnet-armhf
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 }}
@ -150,7 +150,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 }}
@ -165,9 +165,9 @@ jobs:
docker manifest push --purge nephatrine/drone-ci:2
docker manifest push --purge nephatrine/drone-ci: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 }}