Skip to content

Fix trending tags (#143) #142

Fix trending tags (#143)

Fix trending tags (#143) #142

Workflow file for this run

name: Docker Push
on:
push:
branches:
- main
- develop
- feature/noble
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: docker login
run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
env:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push (main)
if: github.ref == 'refs/heads/main'
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: |
mczachurski/vernissage-server:latest
mczachurski/vernissage-server:1.0.0
- name: Build and push (develop)
if: github.ref == 'refs/heads/develop'
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: |
mczachurski/vernissage-server:develop
mczachurski/vernissage-server:1.0.0-alpha