Skip to content

Commit

Permalink
chore: auto-publish docker images (#1373)
Browse files Browse the repository at this point in the history
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
  • Loading branch information
NathanFlurry committed Nov 20, 2024
1 parent af7a67b commit f3c07c3
Show file tree
Hide file tree
Showing 579 changed files with 13,798 additions and 12,721 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
32 changes: 32 additions & 0 deletions .github/actions/docker-setup/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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: 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 f3c07c3

Please sign in to comment.