m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-17 09:33:38 -05:00

I'm stupid

This commit is contained in:
Sergio
2025-03-03 11:14:16 +02:00
parent 7ea6ae6de5
commit e7f1921620
3 changed files with 6 additions and 6 deletions

View File

@@ -3,9 +3,9 @@ inputs:
tags:
description: "Docker image tags"
required: true
secrets:
GITHUB_TOKEN:
required: true
gh-token:
description: "Github token"
required: true
runs:
using: 'composite'
@@ -37,7 +37,7 @@ runs:
with:
registry: ghcr.io
username: sergi0g
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ inputs.gh-token }}
- name: Build and push image
uses: docker/build-push-action@v6

View File

@@ -73,6 +73,7 @@ jobs:
with:
tags: |
${{ needs.get-tag.outputs.tag }}
gh-token: ${{ secrets.GITHUB_TOKEN }}
nightly-release:
runs-on: ubuntu-latest

View File

@@ -72,8 +72,7 @@ jobs:
tags: |
${{ needs.get-tag.outputs.tag }}
latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
gh-token: ${{ secrets.GITHUB_TOKEN }}
release:
runs-on: ubuntu-latest