Skip to content

chore: various internal cleanup (#7) #1

chore: various internal cleanup (#7)

chore: various internal cleanup (#7) #1

Workflow file for this run

name: Publish
on:
push:
tags: ["v*"]
jobs:
test_and_build:
uses: ./.github/workflows/ci.yml
secrets: inherit
image_publish:
name: Publish Image
runs-on: ubuntu-latest
needs: [image_build, trivy]

Check failure on line 14 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / Publish

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 14, Col: 13): Job 'image_publish' depends on unknown job 'image_build'. .github/workflows/publish.yml (Line: 14, Col: 26): Job 'image_publish' depends on unknown job 'trivy'.
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: image
path: /tmp
- name: Publish image
run: |
docker load --input /tmp/image.tar
docker push --all-tags ${{ github.repository }}