Skip to content
Merged

Base #15

Show file tree
Hide file tree
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
4 changes: 0 additions & 4 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,17 @@ jobs:
- uses: actions/checkout@v3

- name: Debug directory tree
continue-on-error: true
run: |
echo "PWD: $(pwd)"
find . -name go.sum

- name: Setup Go
uses: actions/setup-go@v5
continue-on-error: true
with:
go-version: 1.22

- name: Cache Go modules
uses: actions/cache@v4
continue-on-error: true
with:
path: |
~/.cache/go-build
Expand All @@ -39,7 +36,6 @@ jobs:
${{ runner.os }}-go-

- name: Tidy modules
continue-on-error: true
run: go mod tidy

- name: Placeholder build step
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ on:
jobs:
build_and_push:
runs-on: ubuntu-latest
continue-on-error: true

steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
continue-on-error: true

- name: Login to Docker Hub
uses: docker/login-action@v2
continue-on-error: true
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.COMMUTESMART_DOCKERHUB_TOKEN }}
Expand All @@ -36,4 +39,8 @@ jobs:
with:
context: ./backend
push: true
tags: jahleelt/commutesmart-backend:latest
tags: jahleelt/commutesmart-backend:latest

- name: Final success message
if: always()
run: echo "Docker workflow complete"
Loading