Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

DeanAyalon pushed a release to refs/heads/actions #11

DeanAyalon pushed a release to refs/heads/actions

DeanAyalon pushed a release to refs/heads/actions #11

Workflow file for this run

name: Docker Image CI
run-name: ${{ github.actor }} pushed a release to ${{ github.event.ref }}
on:
push:
branches:
- actions
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# - name: awk
# run: awk
- name: Get branch name
shell: bash
# run: echo $0
run: |
echo "Ref: ${{ github.event.ref }}"
branch=$(echo "${{ github.event.ref }}" | awk -F'heads/' '{print $2}')
echo "Branch: $branch"
# run: branch=$(echo "${{ github.event.ref }}" | awk -F'heads/' '{print $2}')
# - run: echo $thebranch
# - name: Build the Docker image using compose
# run: docker build . -t dean-verdaccio:test
# - name: Show images?
# run: docker image ls