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
Workflow file for this run
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
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 |