Skip to content

Commit

Permalink
ci: fix docker build by using self-hosted runners
Browse files Browse the repository at this point in the history
  • Loading branch information
billmetangmo authored Jan 14, 2024
1 parent b2b52e0 commit bdc9a2c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy_mysql_dumb_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,19 @@ on:
- '.github/workflows/deploy_mysql_dumb_image.yml'
jobs:
build:
runs-on: ubuntu-latest
runs-on: arc-runner-set

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

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

- name: Build and push Docker image
run: |
pwd
ls
docker buildx create --use
docker build -t tsafacjo/mysql-dumb-aws:latest --platform linux/arm/v7 database/backup/docker
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
docker push your-docker-registry/your-image-name:latest
Expand Down

0 comments on commit bdc9a2c

Please sign in to comment.