Skip to content

Commit

Permalink
chore: auto-publish docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Nov 18, 2024
1 parent 89fe88d commit 462fba5
Show file tree
Hide file tree
Showing 569 changed files with 13,619 additions and 12,681 deletions.
35 changes: 35 additions & 0 deletions .github/actions/docker-setup/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 'Docker Setup'
description: 'Set up Docker Buildx and log in to Docker Hub'
inputs:
docker_username:
description: 'Docker Hub username'
required: true
docker_password:
description: 'Docker Hub password'
required: true
github_token:
description: 'GitHub token'
required: true
runs:
using: 'composite'
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ inputs.docker_username }}
password: ${{ inputs.docker_password }}

# This will be used as a secret to authenticate with Git repo pulls
- name: Create .netrc file
run: |
echo "machine github.com" > ${{ runner.temp }}/netrc
echo "login x-access-token" >> ${{ runner.temp }}/netrc
echo "password ${{ inputs.github_token }}" >> ${{ runner.temp }}/netrc
shell: bash

46 changes: 0 additions & 46 deletions .github/workflows/bolt-check.yaml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/bolt-test.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/detect-secrets.yaml

This file was deleted.

89 changes: 0 additions & 89 deletions .github/workflows/docker-publish.yaml

This file was deleted.

Loading

0 comments on commit 462fba5

Please sign in to comment.