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 19, 2024
1 parent d4724c5 commit 4891d9c
Show file tree
Hide file tree
Showing 575 changed files with 13,637 additions and 12,695 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
!sdks/full/rust/src
!packages
!resources/legacy/proto
!externals/

sdks/runtime
svc/**/*.md
Expand Down
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 4891d9c

Please sign in to comment.