Skip to content

address-service deploy to test #4

address-service deploy to test

address-service deploy to test #4

name: address-service deploy to test
on:
workflow_dispatch:
defaults:
run:
working-directory: ./
env:
NAMESPACE: f0463d-tools
IMAGE_NAME: address-service
SOURCE_IMAGE_TAG: dev
TARGET_IMAGE_TAG: test
jobs:
ocp-integration:
runs-on: ubuntu-latest
steps:
- uses: redhat-actions/openshift-tools-installer@v1
with:
source: "mirror"
oc: "latest"
- name: Log in to Openshift
run: oc login --token=${{ secrets.OpenShiftToken }} --server=${{ secrets.OpenShiftServerURL}}
- name: Deploy to Test
run: oc tag -n ${NAMESPACE} ${NAMESPACE}/${IMAGE_NAME}:${SOURCE_IMAGE_TAG} ${NAMESPACE}/${IMAGE_NAME}:${TARGET_IMAGE_TAG}