Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions .github/workflows/release-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build and Release Latest

on:
push:
branches: [ master ]
branches: [ develop ]
pull_request:
branches: [ master, develop ]
branches: [ develop ]
workflow_dispatch:
permissions:
contents: write
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
ods-api-service:
needs: build
name: Build and Push ods-api-service Docker Image
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
-
name: Checkout repository
Expand All @@ -77,14 +77,4 @@ jobs:
--imagename ods-api-service \
--dockerdir docker \
--dockerfile Dockerfile
# - name: Push docker image
# if: success() && github.repository == 'opendevstack/ods-api-service' && github.event_name == 'push'
# shell: bash
# env:
# DOCKER_USER: ${{ secrets.DockerHubUser }}
# DOCKER_PASS: ${{ secrets.DockerHubPass }}
# run: |
# ./.github/workflows/push-docker-image.sh \
# --user "$DOCKER_USER" \
# --password "$DOCKER_PASS" \
# --imagename ods-api-service

Loading