use abs action calls
All checks were successful
ci / docker (pull_request) Successful in 26s

This commit is contained in:
OCram85 2023-07-12 14:16:28 +02:00
parent cf6593f58f
commit e26a64578f
2 changed files with 7 additions and 7 deletions

View File

@ -20,7 +20,7 @@ jobs:
- -
name: Docker meta name: Docker meta
id: meta id: meta
uses: actions/metadata-action@v4 uses: https://gitea.ocram85.com/actions/metadata-action@v4
with: with:
images: | images: |
gitea.ocram85.com/ocram85/swarmproxy gitea.ocram85.com/ocram85/swarmproxy
@ -31,10 +31,10 @@ jobs:
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
- -
name: Set up Docker Buildx name: Set up Docker Buildx
uses: actions/setup-buildx-action@v2 uses: https://gitea.ocram85.com/actions/setup-buildx-action@v2
- -
name: Login to Gitea Package Registry name: Login to Gitea Package Registry
uses: actions/login-action@v2 uses: https://gitea.ocram85.com/actions/login-action@v2
with: with:
registry: gitea.ocram85.com registry: gitea.ocram85.com
username: ${{ secrets.USERNAME }} username: ${{ secrets.USERNAME }}
@ -42,7 +42,7 @@ jobs:
password: ${{ secrets.TOKEN }} password: ${{ secrets.TOKEN }}
- -
name: Build and push name: Build and push
uses: actions/build-push-action@v4 uses: https://gitea.ocram85.com/actions/build-push-action@v4
with: with:
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}

View File

@ -9,16 +9,16 @@ jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: https://gitea.ocram85.com/actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: setup go - name: setup go
uses: actions/setup-go@v3 uses: https://gitea.ocram85.com/actions/setup-go@v3
with: with:
go-version: '>=1.20.1' go-version: '>=1.20.1'
- name: Use Go Action - name: Use Go Action
id: use-go-action id: use-go-action
uses: actions/release-action@main uses: https://gitea.ocram85.com/actions/release-action@main
with: with:
files: |- files: |-
CHANGELOG.md CHANGELOG.md