Skip to content

Commit

Permalink
rename default branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccar committed Feb 24, 2023
1 parent b16f19e commit b7a825d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Main

on:
push:
branches:
- main

jobs:
docker-push:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Build
run: docker build -t onsdigital/eq-questionnaire-launcher:latest .
- name: Push
run: |
echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
echo "Pushing with tag [latest]"
docker push onsdigital/eq-questionnaire-launcher:latest
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: PR
on:
pull_request:
branches:
- "master"
- main

jobs:
build:
Expand Down

0 comments on commit b7a825d

Please sign in to comment.