Change dependencies #2
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: | |
pull_request: | |
push: | |
branches: | |
- main | |
# schedule: | |
# # Build at 6 o'clock in the evening, UTC time on sundays. | |
# # Providing a fresh image for next week. And providing a chance to debug | |
# # the entire week in case of failure. | |
# - cron: '0 18 * * 0' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
include: | |
- commit_id: release_23.1.4 | |
tags: biodatapt/galaxy-compose:23.1.4,biodatapt/galaxy-compose:latest | |
- commit_id: dev | |
tags: biodatapt/galaxy-compose:dev | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_ACCESS_TOKEN }} | |
- name: Build image | |
uses: docker/build-push-action@v2 | |
with: | |
build-args: "GALAXY_COMMIT_ID=${{ matrix.commit_id }}" | |
tags: ${{ matrix.tags }} | |
push: ${{ github.event_name == 'push' || github.event_name == 'schedule' }} |