Skip to content

Host Tiles With GCOM #73

Host Tiles With GCOM

Host Tiles With GCOM #73

Workflow file for this run

name: Upload Docker Image to Docker Hub
on:
pull_request:
branches:
- main
- release
push:
branches:
- release
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Checkout code
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Build and Push Docker Image
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name == 'push' }}
tags: ubcuas/${{ github.event.repository.name }}:latest