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,8 +3,8 @@ inputs:
tags: tags:
description: "Docker image tags" description: "Docker image tags"
required: true required: true
secrets: gh-token:
GITHUB_TOKEN: description: "Github token"
required: true required: true
runs: runs:
@@ -37,7 +37,7 @@ runs:
with: with:
registry: ghcr.io registry: ghcr.io
username: sergi0g username: sergi0g
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ inputs.gh-token }}
- name: Build and push image - name: Build and push image
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6

View File

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

View File

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