Skip to content

Pin dependencies

Pin dependencies #19

Workflow file for this run

---
name: CI Workflow
on: push
permissions:
contents: read
jobs:
docker-publish:
defaults:
run:
shell: bash
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
show-progress: false
- name: Log into registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker Build & Push
run: |
tag=$(awk -F: '/FROM.*argocd/{ print $2 }' Dockerfile)
docker buildx build \
--no-cache \
--pull \
--tag ghcr.io/${GITHUB_REPOSITORY,,}:${tag} \
.
docker push ghcr.io/${GITHUB_REPOSITORY,,}:${tag}
...