Merge pull request #62 from ignaciochemes/develop #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
name: deploy bot to master infraestructure | |
jobs: | |
deploy: | |
name: Build and push image to registry | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Login to Private Registry | |
uses: docker/login-action@v1 | |
with: | |
registry: ${{ secrets.REGISTRY_URL }} | |
username: ${{ secrets.REGISTRY_USERNAME }} | |
password: ${{ secrets.REGISTRY_TOKEN }} | |
- name: build and push to registry | |
uses: docker/build-push-action@v3 | |
with: | |
push: true | |
context: . | |
file: ./Dockerfile | |
build-args: APP=prod | |
platforms: linux/arm/v7 | |
tags: ${{ secrets.REGISTRY_URL }}/steamid64toguid-bot-prod:v2.1.3 |